A database with SQLite diagrams
Start with how the application begins, then follow data between its folders. Open an operation to see its decisions, calls, failures and cleanup. Its explanation supplies the exact contract and linked dependencies.
This view includes 2 application source files. Package and interface boundaries show checked contracts; their runtime implementations are not expanded. The views describe the checked program, not desired requirements or a recorded execution.
Where execution begins
Startup
It prints storedName. If this work raises SqliteError as error, it prints error.message. source
Data flow
Mermaid source
flowchart TD
n0["database"]
n1["Startup"]
n1 -->|"storedName → string"| n0
Package boundaries
database package calls
Mermaid source
flowchart LR
n0["database"]
n1["@greenpandastudios/aug-sqlite"]
n0 -->|"execute(database, sql, …) / openMemory + 1 more → int / own Database + 1 more"| n1
Follow the data
Each row opens the complete operations and call sites behind one pair of logical units. A grouped arrow records calls between those units; connected arrows need not belong to the same execution path.
| From | To | Operations | Read |
|---|---|---|---|
| database | @greenpandastudios/aug-sqlite | 3 | Inputs, results and call sites |
| Startup | database | 1 | Inputs, results and call sites |
Data crossing these boundaries (4 contracts)
database → @greenpandastudios/aug-sqlite
3 operations, 4 sites
Inputs: database: borrow Database, sql: string, parameters: List<string>. Result: int.
| Caller or entry | Evidence |
|---|---|
| storedName | Call site · Caller explanation |
| storedName | Call site · Caller explanation |
No caller-supplied inputs. Result: own Database.
| Caller or entry | Evidence |
|---|---|
| storedName | Call site · Caller explanation |
Inputs: database: Database, sql: string, parameters: List<string>. Result: string.
| Caller or entry | Evidence |
|---|---|
| storedName | Call site · Caller explanation |
Startup → database
1 operation, 1 site
No caller-supplied inputs. Result: string.
| Caller or entry | Evidence |
|---|---|
| Startup | Call site · Caller explanation |
Open a module
| Module | Read |
|---|---|
| database.aug | Flow and sequences · Explanation |
| main.aug | Flow and sequences · Explanation |
These are static call boundaries, not a request trace. Interface implementations and foreign internals stop at their checked contracts. Dotted arrows defer a callback or browser action. Imports alone do not imply a call.