On Thursday, June 6, 2019 at 12:34:54 AM UTC-7, Wayne Chan wrote: > > Hi, > Is there a way to use Sequel to update many row in one query, just like > `multi_insert` insert many row at once. > > Thanks for any help! >
UPDATE in SQL can already update multiple rows in one query. By default, without WHERE, it updates all rows in the table. You have to specifically restrict it to single row if you only want to update a single row. So I don't think adding multi_update makes sense. 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/531f7c00-d632-4976-af70-d8fa64a33d90%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
