Class: Rhom::RhomDbAdapter
Class Method Summary collapse
- .get_value_for_sql_stmt(value, convert_value_to_string) ⇒ Object
- .make_where_params(condition, op) ⇒ Object
- .select_str(select_arr) ⇒ Object
- .string_from_key_vals(values, delim) ⇒ Object
- .string_from_key_vals_set(values, delim) ⇒ Object
- .vals_str(values) ⇒ Object
- .where_str(condition) ⇒ Object
Instance Method Summary collapse
- #_execute_sql(sql, is_batch, args) ⇒ Object
- #close ⇒ Object
- #commit ⇒ Object
- #delete_all_from_table(table) ⇒ Object
- #delete_from_table(table, condition) ⇒ Object
- #delete_table(table) ⇒ Object
- #destroy_table(name) ⇒ Object
- #destroy_tables(args) ⇒ Object
- #execute_batch_sql(sql, args) ⇒ Object
- #execute_sql(sql, args) ⇒ Object
- #export ⇒ Object
- #import(zipName) ⇒ Object
- #insert_into_table(table, values, excludes) ⇒ Object
- #is_ui_waitfordb ⇒ Object
- #lock_db ⇒ Object
- #make_insert_params(values, excludes) ⇒ Object
- #make_set_params(values) ⇒ Object
- #rollback ⇒ Object
- #select_from_table(table, columns, condition, params) ⇒ Object
- #set_do_not_bakup_attribute(attr) ⇒ Object
- #start_transaction ⇒ Object
- #table_exist?(table_name) ⇒ Boolean
- #unlock_db ⇒ Object
- #update_into_table(table, values, condition) ⇒ Object
Class Method Details
.get_value_for_sql_stmt(value, convert_value_to_string) ⇒ Object
19 20 |
# File 'lib/framework/autocomplete/Rhom.rb', line 19 def self.get_value_for_sql_stmt(value,convert_value_to_string) end |
.make_where_params(condition, op) ⇒ Object
21 22 |
# File 'lib/framework/autocomplete/Rhom.rb', line 21 def self.make_where_params(condition,op) end |
.select_str(select_arr) ⇒ Object
11 12 |
# File 'lib/framework/autocomplete/Rhom.rb', line 11 def self.select_str(select_arr) end |
.string_from_key_vals(values, delim) ⇒ Object
17 18 |
# File 'lib/framework/autocomplete/Rhom.rb', line 17 def self.string_from_key_vals(values,delim) end |
.string_from_key_vals_set(values, delim) ⇒ Object
15 16 |
# File 'lib/framework/autocomplete/Rhom.rb', line 15 def self.string_from_key_vals_set(values,delim) end |
.vals_str(values) ⇒ Object
13 14 |
# File 'lib/framework/autocomplete/Rhom.rb', line 13 def self.vals_str(values) end |
.where_str(condition) ⇒ Object
9 10 |
# File 'lib/framework/autocomplete/Rhom.rb', line 9 def self.where_str(condition) end |
Instance Method Details
#_execute_sql(sql, is_batch, args) ⇒ Object
45 46 |
# File 'lib/framework/autocomplete/Rhom.rb', line 45 def _execute_sql(sql,is_batch,args) end |
#close ⇒ Object
23 24 |
# File 'lib/framework/autocomplete/Rhom.rb', line 23 def close end |
#commit ⇒ Object
29 30 |
# File 'lib/framework/autocomplete/Rhom.rb', line 29 def commit end |
#delete_all_from_table(table) ⇒ Object
57 58 |
# File 'lib/framework/autocomplete/Rhom.rb', line 57 def delete_all_from_table(table) end |
#delete_from_table(table, condition) ⇒ Object
55 56 |
# File 'lib/framework/autocomplete/Rhom.rb', line 55 def delete_from_table(table,condition) end |
#delete_table(table) ⇒ Object
61 62 |
# File 'lib/framework/autocomplete/Rhom.rb', line 61 def delete_table(table) end |
#destroy_table(name) ⇒ Object
63 64 |
# File 'lib/framework/autocomplete/Rhom.rb', line 63 def destroy_table(name) end |
#destroy_tables(args) ⇒ Object
65 66 |
# File 'lib/framework/autocomplete/Rhom.rb', line 65 def destroy_tables(args) end |
#execute_batch_sql(sql, args) ⇒ Object
43 44 |
# File 'lib/framework/autocomplete/Rhom.rb', line 43 def execute_batch_sql(sql,args) end |
#execute_sql(sql, args) ⇒ Object
41 42 |
# File 'lib/framework/autocomplete/Rhom.rb', line 41 def execute_sql(sql,args) end |
#export ⇒ Object
37 38 |
# File 'lib/framework/autocomplete/Rhom.rb', line 37 def export end |
#import(zipName) ⇒ Object
39 40 |
# File 'lib/framework/autocomplete/Rhom.rb', line 39 def import(zipName) end |
#insert_into_table(table, values, excludes) ⇒ Object
49 50 |
# File 'lib/framework/autocomplete/Rhom.rb', line 49 def insert_into_table(table,values,excludes) end |
#is_ui_waitfordb ⇒ Object
25 26 |
# File 'lib/framework/autocomplete/Rhom.rb', line 25 def is_ui_waitfordb end |
#lock_db ⇒ Object
33 34 |
# File 'lib/framework/autocomplete/Rhom.rb', line 33 def lock_db end |
#make_insert_params(values, excludes) ⇒ Object
51 52 |
# File 'lib/framework/autocomplete/Rhom.rb', line 51 def make_insert_params(values,excludes) end |
#make_set_params(values) ⇒ Object
69 70 |
# File 'lib/framework/autocomplete/Rhom.rb', line 69 def make_set_params(values) end |
#rollback ⇒ Object
31 32 |
# File 'lib/framework/autocomplete/Rhom.rb', line 31 def rollback end |
#select_from_table(table, columns, condition, params) ⇒ Object
47 48 |
# File 'lib/framework/autocomplete/Rhom.rb', line 47 def select_from_table(table,columns,condition,params) end |
#set_do_not_bakup_attribute(attr) ⇒ Object
53 54 |
# File 'lib/framework/autocomplete/Rhom.rb', line 53 def set_do_not_bakup_attribute(attr) end |
#start_transaction ⇒ Object
27 28 |
# File 'lib/framework/autocomplete/Rhom.rb', line 27 def start_transaction end |
#table_exist?(table_name) ⇒ Boolean
59 60 |
# File 'lib/framework/autocomplete/Rhom.rb', line 59 def table_exist?(table_name) end |
#unlock_db ⇒ Object
35 36 |
# File 'lib/framework/autocomplete/Rhom.rb', line 35 def unlock_db end |
#update_into_table(table, values, condition) ⇒ Object
67 68 |
# File 'lib/framework/autocomplete/Rhom.rb', line 67 def update_into_table(table,values,condition) end |