module Seaquel

Public Instance Methods

binding(position) click to toggle source
# File lib/seaquel/module.rb, line 30
def binding position
  AST::Binding.new(position)
end
column(name) click to toggle source
# File lib/seaquel/module.rb, line 19
def column name
  AST::Column.new(name)
end
delete() click to toggle source
# File lib/seaquel/module.rb, line 15
def delete
  AST::Node.new(:delete)
end
funcall(name, *args) click to toggle source
# File lib/seaquel/module.rb, line 33
def funcall name, *args
  AST::Funcall.new(name, args)
end
insert() click to toggle source
# File lib/seaquel/module.rb, line 12
def insert
  AST::Node.new(:insert)
end
literal(text) click to toggle source
# File lib/seaquel/module.rb, line 27
def literal text
  AST::Literal.new(text)
end
select() click to toggle source
# File lib/seaquel/module.rb, line 6
def select
  AST::Node.new(:select)
end
table(name) click to toggle source
# File lib/seaquel/module.rb, line 23
def table name
  AST::Table.new(name)
end
update(table) click to toggle source
# File lib/seaquel/module.rb, line 9
def update table
  AST::Node.new(:update, table)
end