Skip to content

sco.storage

Methods and entrypoints for sco.storage.

Source: sco_storage.h, implementation, layout pin.

One database, transaction and cursor namespace per plugin, not per thread. Any thread can use the plugin’s transaction/cursor, but concurrent calls serialize. Keys are 1–255 bytes; values 0–1 MiB; at most 64 open cursors per plugin. The host may allocate copies, statements and cursors; callers never receive SQLite memory. Database quota and statement budgets are host-configured, not fixed by the method table. A budget failure is FAILED, not an API cancellation callback. For SQL restrictions and persistence settings see storage.