module MdlSql
In order to contact the author of this gem, please write to sikian@gmail.com.
In order to contact the author of this gem, please write to sikian@gmail.com.
In order to contact the author of this gem, please write to sikian@gmail.com.
In order to contact the author of this gem, please write to sikian@gmail.com.
In order to contact the author of this gem, please write to sikian@gmail.com.
Constants
- VERSION
Public Class Methods
config(values={})
click to toggle source
Calls SqlQuery.config
to configurate futures queries. @todo Allow many simultaneous configurations. For the moment being, use different config files. @option values [Symbol]
# File lib/mdlsql.rb, line 62 def config(values={}) SqlQuery.config(values) end
insert()
click to toggle source
# File lib/mdlsql.rb, line 45 def insert query = SqlQuery.new.insert() return query end
query(str)
click to toggle source
# File lib/mdlsql.rb, line 55 def query str return SqlQuery.new.query(str) end
select()
click to toggle source
# File lib/mdlsql.rb, line 40 def select() query = SqlQuery.new.select() return query end
update(table=nil)
click to toggle source
# File lib/mdlsql.rb, line 50 def update(table=nil) query = SqlQuery.new.update(table) return query end
Private Instance Methods
config(values={})
click to toggle source
Calls SqlQuery.config
to configurate futures queries. @todo Allow many simultaneous configurations. For the moment being, use different config files. @option values [Symbol]
# File lib/mdlsql.rb, line 62 def config(values={}) SqlQuery.config(values) end
insert()
click to toggle source
# File lib/mdlsql.rb, line 45 def insert query = SqlQuery.new.insert() return query end
query(str)
click to toggle source
# File lib/mdlsql.rb, line 55 def query str return SqlQuery.new.query(str) end
select()
click to toggle source
# File lib/mdlsql.rb, line 40 def select() query = SqlQuery.new.select() return query end
update(table=nil)
click to toggle source
# File lib/mdlsql.rb, line 50 def update(table=nil) query = SqlQuery.new.update(table) return query end