mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
880 B
880 B
toc_priority, toc_title
| toc_priority | toc_title |
|---|---|
| 55 | sqlite |
sqlite
Allows to performed queries on data that is stored in the SQLite database.
Syntax
sqlite('db_path', 'table_name')
Arguments
db_path— Path to SQLite file with the database. String.table_name— The SQLite table name. String.
Returned value
- A table object with the same columns as the original
SQLitetable.
Example
Query:
SELECT * FROM sqlite('sqlite.db', 'table1') ORDER BY col2;
Result:
┌─col1──┬─col2─┐
│ line1 │ 1 │
│ line2 │ 2 │
│ line3 │ 3 │
└───────┴──────┘
See Also
- SQLite table engine