Replies: 1 comment 2 replies
-
👍 I think this would be a good addition, and we get the required information on all backends (including This is likely a bit complicated to implement with backwards compatibility - we can't change the return type of
That would be great, thanks! Let me know if you run into any more issues along the way |
Beta Was this translation helpful? Give feedback.
-
Hi,
I was playing with the batch insert when I figured that it won't provide a way to get inserted IDs at the method
db.batch
is a simpleFuture<void>
. I found that sqlite provides a way to return inserted IDs via the clauseReturning
:Would you like to see this supported in Drift?
I'm happy to work on it and send PR
Beta Was this translation helpful? Give feedback.
All reactions