class SQB::Base
Attributes
options[R]
prepared_arguments[R]
Public Class Methods
new(table_name, options = {}, &block)
click to toggle source
# File lib/sqb/base.rb, line 12 def initialize(table_name, options = {}, &block) @table_name = table_name @options = options @prepared_arguments = [] block.call(self) if block_given? end
Public Instance Methods
to_sql()
click to toggle source
Generate the full SQL query for this query.
@return [String]
# File lib/sqb/base.rb, line 22 def to_sql end