You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases you need to specifically save to database only some fields from struct and do not update any others. So it would be nice to specify something like:
Also would be nice to specify fields in struct comments that this field should never be included in update (pk already is excluded but there are some fields that also can not be updated (like for partitioned tables etc). created_at should probably be excluded by default for example
Currently in postgres I'm having error ERROR: modifying the partition value of rows is not allowed (SQLSTATE 0A000) because of that and only option is to make update manually for this case
The text was updated successfully, but these errors were encountered:
In some cases you need to specifically save to database only some fields from struct and do not update any others. So it would be nice to specify something like:
Also would be nice to specify fields in struct comments that this field should never be included in update (pk already is excluded but there are some fields that also can not be updated (like for partitioned tables etc). created_at should probably be excluded by default for example
Currently in postgres I'm having error
ERROR: modifying the partition value of rows is not allowed (SQLSTATE 0A000)
because of that and only option is to make update manually for this caseThe text was updated successfully, but these errors were encountered: