919 B
919 B
| layout | published | noToc | noComments | noDate | title | subtitle | description | permalink | lang | tags | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| page | true | true | false | false | Fun - SQLite extension (optional) | Documentation for SQLite extension (optional) | Documentation for SQLite extension (optional) | /documentation/external/sqlite/ | en |
|
SQLite extension (optional)
- CMake option: FUN_WITH_SQLITE=ON
- Purpose: Access SQLite databases via the native C API.
- Homepage: https://www.sqlite.org/
Opcodes:
- OP_SQLITE_OPEN: pops path; pushes handle (>0) or 0
- OP_SQLITE_CLOSE: pops handle; pushes Nil
- OP_SQLITE_EXEC: pops sql, handle; pushes rc:int (0=OK)
- OP_SQLITE_QUERY: pops sql, handle; pushes array
Notes:
- Requires SQLite development headers/libs.
- See also:
libSQLfor a compatible alternative backend.