Han Holl wrote:
> Hello,
>
> If you use Dataset#select(:col1, :col2), sequel will generate sql
> like:
>
> select ( `col1`, `col2` ) from ...

I'm not seeing it:

  irb(main):002:0> DB[:t].select(:col1, :col2)
  => #<Sequel::SQLite::Dataset: "SELECT `col1`, `col2` FROM `t`">

If you pass an array of columns instead of separate arguments, you get
that:

  irb(main):003:0> DB[:t].select([:col1, :col2])
  => #<Sequel::SQLite::Dataset: "SELECT (`col1`, `col2`) FROM `t`">

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 at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to