On Wednesday, July 26, 2017 at 12:08:54 AM UTC-7, Aryk Grosz wrote: > > Jeremy, I notice there is a select happening after a call to #create to > refresh the record (I think). Is that required after inserting to get the > new values and new primary key? I'm using mysql if that helps. >
The select query is used to get the new values (the primary key result comes from insert's return value). You can use the skip_create_refresh plugin if you don't want that behavior. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
