On Dec 12, 11:07 am, Jeremy Evans <[email protected]> wrote: > I don't think it's good to make returning the IDs the default > behavior, since it's probably slower to do so, and I expect in most > cases they aren't needed. But I'll certainly considering implementing > this as an option if people think it is helpful (maybe > a :return=>:primary_key option). On PostgreSQL it could use > RETURNING, on MySQL it could change behavior to use a separate query > per row, on MSSQL it could do something similar to either PostgreSQL > or MySQL depending on whether OUTPUT can be used.
I decided to implement this: https://github.com/jeremyevans/sequel/commit/4003876b987e44969335dac13a87ec0ebb77e5d3 Please give the master branch a shot and let me know if it works out. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
