Module: BigShift::Core
Instance Method Summary collapse
- #create_table(table_name) ⇒ Object
- #create_view(name, query) ⇒ Object
- #insert_rows(table_name, rows) ⇒ Object
- #update_view(name, query) ⇒ Object
Instance Method Details
#create_table(table_name) ⇒ Object
5 6 7 |
# File 'lib/big_shift/core.rb', line 5 def create_table(table_name) CreateTableCommand.execute table_name end |
#create_view(name, query) ⇒ Object
13 14 15 |
# File 'lib/big_shift/core.rb', line 13 def create_view(name, query) CreateViewCommand.execute name, query end |
#insert_rows(table_name, rows) ⇒ Object
9 10 11 |
# File 'lib/big_shift/core.rb', line 9 def insert_rows(table_name, rows) InsertRowsCommand.execute table_name, rows end |
#update_view(name, query) ⇒ Object
17 18 19 |
# File 'lib/big_shift/core.rb', line 17 def update_view(name, query) UpdateViewCommand.execute name, query end |