Class: ImportEverything::SqliteParser
- Inherits:
-
Parser::ImpParsers
- Object
- Parser
- Parser::ImpParsers
- ImportEverything::SqliteParser
- Defined in:
- lib/import_everything/parsers/sqlite_parser.rb
Defined Under Namespace
Classes: TableParser
Instance Method Summary collapse
Methods inherited from Parser::ImpParsers
Methods inherited from Parser
Instance Method Details
#get_raw_tables(db) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/import_everything/parsers/sqlite_parser.rb', line 13 def get_raw_tables(db) sql = "SELECT name FROM sqlite_master WHERE type='table' ORDER BY name;" res = db.execute(sql).flatten mylog "sqlite", :res => res, :sql => sql res end |
#required_fields ⇒ Object
26 27 28 |
# File 'lib/import_everything/parsers/sqlite_parser.rb', line 26 def required_fields [] end |