mirror of
https://github.com/lloeki/rebel.git
synced 2025-12-06 18:14:40 +01:00
need a better solution for: by(:foo).asc.by(:bar).desc
This commit is contained in:
parent
52ff7ffd50
commit
3a33a69585
3 changed files with 5 additions and 5 deletions
|
|
@ -156,9 +156,9 @@ module Rebel::SQL
|
|||
Raw.new("#{self} DESC")
|
||||
end
|
||||
|
||||
def by(*clause)
|
||||
Raw.new(Rebel::SQL.list(self, Rebel::SQL.names(*clause)))
|
||||
end
|
||||
# def by(*clause)
|
||||
# Raw.new(Rebel::SQL.list(self, Rebel::SQL.names(*clause)))
|
||||
# end
|
||||
end
|
||||
|
||||
@identifier_quote = '"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue