SQLite3::Statement class of PicoRuby
Singleton methods
new
SQLite3::Statement.new(SQLite3::Database db, String sql) -> instance
Instance methods
active?
instance.active?-> bool
bind_param
instance.bind_param(Integer|Symbol|String key, sqlite3_var_t var) -> self
bind_params
instance.bind_params(*(sqlite3_var_t | Hash[Symbol, sqlite3_var_t]) bind_vars) -> Array[sqlite3_var_t | Hash[Symbol, sqlite3_var_t]]
close
instance.close-> self
closed?
instance.closed?-> bool
column_count
instance.column_count-> Integer
column_decltype
instance.column_decltype(Integer index) -> String
column_name
instance.column_name(Integer index) -> String
columns
instance.columns-> Array[String]
done?
instance.done?-> bool
execute
instance.execute(*sqlite3_var_t bind_vars) -> SQLite3::ResultSet
instance.execute(*sqlite3_var_t bind_vars) { (SQLite3::ResultSet) -> nil } -> nil
get_metadata
instance.get_metadata-> void
must_be_open!
instance.must_be_open!-> nil
reset!
instance.reset!-> self
step
instance.step-> (Array[sqlite3_var_t] | nil)
types
instance.types-> Array[String]