By the way, I think you are looking for fetch.
2010/4/9 ivanb <[email protected]>:
> how to do something like this
>
> DB.run ("insert into test (x,y) values(?,?)",3,4)
DB.fetch("insert into test (x,y) values(?,?)", 3, 4)
Should work the same for array with named or unamed args.
Look at :
http://sequel.rubyforge.org/rdoc/classes/Sequel/Database.html#M000325
http://sequel.rubyforge.org/rdoc/classes/Sequel/Database.html#M000338
http://sequel.rubyforge.org/rdoc/classes/Sequel/Dataset.html#M000526
http://sequel.rubyforge.org/rdoc/classes/Sequel/SQL/PlaceholderLiteralString.html
Simon
--
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.