Class: Count
Instance Attribute Summary
Attributes inherited from Column
Instance Method Summary collapse
- #decl_sql ⇒ Object
-
#initialize ⇒ Count
constructor
A new instance of Count.
- #ref_sql ⇒ Object
Methods inherited from Column
#*, #<=, #==, #eq, #in, #state, #with_from
Constructor Details
#initialize ⇒ Count
Returns a new instance of Count.
162 163 164 |
# File 'lib/lilit_sql.rb', line 162 def initialize super(nil) end |
Instance Method Details
#decl_sql ⇒ Object
170 171 172 |
# File 'lib/lilit_sql.rb', line 170 def decl_sql "count(*)" end |
#ref_sql ⇒ Object
166 167 168 |
# File 'lib/lilit_sql.rb', line 166 def ref_sql decl_sql end |