Class: Count
Instance Attribute Summary
Attributes inherited from Column
#name, #origin
Instance Method Summary
collapse
Methods inherited from Column
#==, #state, #with_from
Methods inherited from Expr
#*, #+, #<, #<=, #>, #>=, #and, #asc, #desc, #eq, #in, #minus, #ne, #not, #plus
Constructor Details
#initialize ⇒ Count
302
303
304
|
# File 'lib/lilit_sql.rb', line 302
def initialize
super(nil)
end
|
Instance Method Details
#decl_sql ⇒ Object
310
311
312
|
# File 'lib/lilit_sql.rb', line 310
def decl_sql
'count(*)'
end
|
#ref_sql ⇒ Object
306
307
308
|
# File 'lib/lilit_sql.rb', line 306
def ref_sql
decl_sql
end
|