Replies: 1 comment 5 replies
-
A better way would involve using a database function (e.g. I don't think it would make sense to document this in the migration documentation, since it isn't specific to migrations, or in the Sequel::Dataset#update documentation (which already gives an example of using a multitable UPDATE). I would guess that you are correct that there is no specific example in the documentation like this. However, it seems like a simple combination of retrieving data (well documented) and updating data (also well documented). |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I'm either super bad at searching or this isn't documented anywhere. I've just figured out a way to do this after about 4hrs of searching for a "cleaner" way to do it to no avail.
Is there a better way to do this?
Second question: if there is a better way to do it, would you like a documentation PR for Sequel::Dataset#update and/or migration.rdoc ?
Beta Was this translation helpful? Give feedback.
All reactions