Skip to content

Support updating an element in an array with ExecuteUpdate #3622

Description

@roji

We currently don't support the following:

context.Blogs.ExecuteUpdateAsync(s =>s.SetProperty(b =>b.Tags[0],"foo")

The reason is that b.Tags[0] translates to the PostgreSQL-specific PgArrayIndexExpression, and the ExecuteUpdate logic for handling setters isn't sufficiently open (see dotnet/efcore#36836).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions