Class: SqliteDb
- Inherits:
-
NetSystem::SqliteDb
- Object
- Liza::Unit
- Liza::Controller
- NetSystem::Database
- NetSystem::SqliteDb
- SqliteDb
- Defined in:
- app/net/databases/sqlite_db.rb
Instance Attribute Summary
Attributes inherited from NetSystem::Database
Instance Method Summary collapse
-
#table_names ⇒ Object
Set up your database controllers per the DSL in guides.lizarb.org/controllers/database.html.
Methods inherited from NetSystem::SqliteDb
Methods inherited from NetSystem::Database
#call, call, current, inherited, #initialize, set_client
Methods inherited from Liza::Controller
color, inherited, on_connected
Methods inherited from Liza::Unit
const_missing, division, part, system, #system, test_class
Constructor Details
This class inherits a constructor from NetSystem::Database
Instance Method Details
#table_names ⇒ Object
Set up your database controllers per the DSL in guides.lizarb.org/controllers/database.html
5 6 7 8 9 |
# File 'app/net/databases/sqlite_db.rb', line 5 def table_names result = call "SELECT name FROM sqlite_schema;" result.delete_at 0 result.flatten end |