1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/lib/arel/nodes/sql_literal.rb

10 lines
153 B
Ruby
Raw Normal View History

2010-08-12 18:26:04 -04:00
module Arel
module Nodes
2010-08-13 11:11:08 -04:00
class SqlLiteral < String
2010-08-23 13:14:02 -04:00
def count distinct = false
Count.new [self], distinct
end
2010-08-12 18:26:04 -04:00
end
end
end