sqlite
sqlite copied to clipboard
Go SQLite3 driver
When trying to build via the Windows command prompt, I get these errors: ``` # crawshaw.io/sqlite In file included from _cgo_export.c:4: cgo-gcc-export-header-prolog:49:34: error: redeclaration of 'go_sqlite_auth_tramp' cannot add 'dllexport' attribute...
I hope this is the right place to ask. I'd like to use the math extension to be able to query like this: stmt := conn.Prep("SELECT **cos**(lat) FROM t WHERE...
Hey, I'm using version 0.3.2 of this lib with go version 1.17.2 and `go build` prints a compilation warning but the build of my project succeeds. I have applied system...
This is a PR related to issue https://github.com/crawshaw/sqlite/issues/92.
```go // CreateCollation registers a Go function as a SQLite collation function. // // These function are used with the COLLATE operator to implement custom sorting in queries. // //...
`Context` lacks the expected method `ResultBlob` for nonzero blobs, even though it implements `ResultZeroBlob` for zeroed blobs of arbitrary size. As a result, custom functions cannot currently return `[]byte` results,...
Added support for https://www.sqlite.org/c3ref/serialize.html and https://www.sqlite.org/c3ref/deserialize.html.
@crawshaw @AdamSLevy Currently, ExecScript executes passed script within a SAVEPOINT transaction. This prevents certain commands from running, eg, vacuum, begin. These are commonly used commands in SQL scripts. Should we...
I'm trying to activate FOREIGN KEYS on all connections, but setting it in sqlitex.OpenInit does not seem to work for me. Are there any limitations on issuing PRAGMA statements in...
Now that the shared cache is disabled and WAL-level locking is used directly, I am seeing a lot of errors like `sqlite.Exec: Stmt.Step: SQLITE_BUSY: database is locked` surface to the...