Replies: 1 comment 1 reply
-
https://github.com/SeaQL/sea-orm/blob/master/tests/returning_tests.rs#L145 shows an example for My understanding is that #1021 should be the insert version of the above support but no dice. https://github.com/SeaQL/sea-orm/blob/master/tests/returning_tests.rs#L52 is another example but that is only for the singular |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I've been poking the docs and code for most of the day and I think I've finally hit a wall. Any tips on how to get the ids out of a
insert_many()
query?I am using Postgres so
returning
based features should be enabled.From the docs and poking I've arrived
But in that scenario
res
is of typeModel
not theVec<Model>
that I'd expect. Any idea what I'm doing wrong here?Beta Was this translation helpful? Give feedback.
All reactions