module Bmg::Sql::LimitClause
Constants
- LIMIT
Public Instance Methods
limit()
click to toggle source
# File lib/bmg/sql/nodes/limit_clause.rb, line 8 def limit last.to_i end
to_sql(buffer, dialect)
click to toggle source
# File lib/bmg/sql/nodes/limit_clause.rb, line 12 def to_sql(buffer, dialect) buffer << LIMIT << SPACE << limit.to_s buffer end