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
Am I missing some way of getting the return value of execute out of this? Should I just be creating an InsertStatement myself and executing it if I want that?
The text was updated successfully, but these errors were encountered:
+1 to this, the main alternative I see is to execute an additional query first to see if the potentially-conflicting row already exists, but I'd prefer not to do that.
InsertStatement (and all inheritors) will get insertedCount field in the next release. The field will contain the inserted rows size provided by the driver.
Sometimes I run Table.insertIgnore and want to know whether I did indeed insert a row (on Postgres).
insertIgnore seems to return the InsertStatement rather than the count of rows:
Am I missing some way of getting the return value of execute out of this? Should I just be creating an InsertStatement myself and executing it if I want that?
The text was updated successfully, but these errors were encountered: