Replies: 1 comment 5 replies
-
|
I think the better solution in this case would be to make |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My "artists" table doesn't use an auto increment PK, but feed from a singe sequence.
For demonstration purposes lets use a "UUID" but not the
uuidplugin, so that we rely on server generated values.Creating a row via the model class works just as expected:
But with with the
table_selectplugin, theRETURNINGpart is missing and falling back toLAST_INSERT_ID:Additionally using the
insert_returning_selectonly works in combination with thecolumn_select:Say, I wouldn't want
column_selectandinsert_returning_select, is there a way to get thetable_selectplugin not loosing theRETURNINGclause?Beta Was this translation helpful? Give feedback.
All reactions