I have just found that function `order` in dataset class supports array 
that is not always working.

Sequel[:users].order([
    Sequel[:users][:id]
  ]).all # OK
# SQL: SELECT * FROM users ORDER BY (id)

Sequel[:users].order([
    Sequel.desc(Sequel[:users][:id])
  ]).all # Not Working
# SQL: SELECT * FROM users ORDER BY (id DESC)

Is that an intentional design?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/7a404228-6b67-4421-b2bd-32e84407c951%40googlegroups.com.

Reply via email to