datapod_sqlite 0.2.0
datapod_sqlite: ^0.2.0 copied to clipboard
SQLite plugin for Datapod ORM.
datapod_sqlite #
The SQLite database plugin for the Datapod ORM framework.
✨ Features #
- Fully integrates SQLite into the Datapod ecosystem.
- Supports both persistent file-based databases and
:memory:databases. - Automated schema management and type mapping.
📖 Usage #
Add to your pubspec.yaml:
dependencies:
datapod_sqlite: any
Then configure it in your databases.yaml:
databases:
- name: my_db
plugin: datapod_sqlite
connection: my_sqlite_conn
In connections.yaml:
connections:
- name: my_sqlite_conn
path: my_db.sqlite
# or path: ":memory:" for in-memory database
For full documentation, see the root README.