Oooh! That was unexpected! Thank you, Jeremy! > You are calling Hash#update, which has no effect on the database. If > that is the query you want: > > DB[:tmp].filter(:id=>id).update(:done=>1) > > That calls Dataset#update instead of Hash#update as Dataset#filter > returns a dataset, as opposed to Dataset#[] which returns a hash. > > 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 > athttp://groups.google.com/group/sequel-talk?hl=en.
-- 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.
