sea-orm icon indicating copy to clipboard operation
sea-orm copied to clipboard

SQLite backend isn't using returning

Open andoriyu opened this issue 3 years ago • 1 comments

Summary

I would like to use returning branch in update and insert when using sqlite.

Motivation

It's more efficient than looking up by primary id after update.

Additional Information

SQLite's support for RETURNING

andoriyu avatar Mar 31 '22 23:03 andoriyu

Hey @andoriyu, sorry for the delay but before we proceed with the PR: https://github.com/SeaQL/sea-orm/pull/654 We need to have a consensus on this: https://github.com/SeaQL/sea-orm/pull/654#issuecomment-1177467728

billy1624 avatar Jul 07 '22 11:07 billy1624