Class: ScraperwikiSqlWrapper
- Inherits:
-
SqliteSqlWrapper
- Object
- SqlWrapper
- SqliteSqlWrapper
- ScraperwikiSqlWrapper
- Defined in:
- lib/coopy/scraperwiki_sql_wrapper.rb
Overview
Tweak sqlite wrapper slightly to match ScraperWiki’s API
Instance Method Summary collapse
Methods inherited from SqliteSqlWrapper
#column_names, #columns, #complete_table, #copy_table_structure, #delete, #fetch, #get_table_names, #initialize, #insert, #part, #pk_from_unique_index, #pragma, #primary_key, #quote_column, #quote_table, #quote_with_dots, #set_primary_key, #transaction, #update
Methods inherited from SqlWrapper
#column_names, #delete, #except_primary_key, #fetch, #insert, #primary_key, #quote_column, #quote_table, #update
Constructor Details
This class inherits a constructor from SqliteSqlWrapper
Instance Method Details
#sqlite_execute(template, vals) ⇒ Object
5 6 7 |
# File 'lib/coopy/scraperwiki_sql_wrapper.rb', line 5 def sqlite_execute(template,vals) @db.sqliteexecute(template,vals)["data"] end |