Database
An embedded SQLite database. Emits a db connection other nodes use.
Pulled. It runs when a node that fires reads its output, once per turn.
Outputs
Section titled “Outputs”| Port | Type | Notes |
|---|---|---|
db |
db |
Example
Section titled “Example”A SQLite database on disk, under user/data/dbs. Declare its tables with Edit on the node: the graph keeps them and creates them whenever it runs, so a graph you share brings its tables along. Wire db into DB nodes to read and write it, and into an Agenda to fire from a table. The DB node never creates a table on its own, and writing to one that does not exist says to add it with Edit.
More in Store
Section titled “More in Store”- DB: Read and write a SQLite store.
- KV: Read and write a key-value store.
- KV Store: A key-value store that keeps its values between runs.
- Vector Store: A vector store kept in a file on this machine.
- Vectors: Index and search an embedded vector store.