New APIs.

This commit is contained in:
Nuno Cruces
2024-01-17 15:39:13 +00:00
parent bce66299ab
commit 35bbd8a0b0
8 changed files with 161 additions and 2 deletions

View File

@@ -229,6 +229,17 @@ const (
DBCONFIG_REVERSE_SCANORDER DBConfig = 1019
)
// TxnState are the allowed return values from [Conn.TxnState].
//
// https://sqlite.org/c3ref/c_txn_none.html
type TxnState uint32
const (
TXN_NONE TxnState = 0
TXN_READ TxnState = 1
TXN_WRITE TxnState = 2
)
// Datatype is a fundamental datatype of SQLite.
//
// https://sqlite.org/c3ref/c_blob.html