Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mattn/go-sqlite3
/ functions
Functions
581 in github.com/mattn/go-sqlite3
⨍
Functions
581
◇
Types & classes
122
↓ 1 callers
Method
AuthUserAdd
AuthUserAdd can be used (by an admin user only) to create a new user. When called on a no-authentication-required database, this routine converts the
sqlite3_opt_userauth.go:73
↓ 1 callers
Method
Authenticate
Authenticate will perform an authentication of the provided username and password against the database. If a database contains the SQLITE_USER table,
sqlite3_opt_userauth.go:48
↓ 1 callers
Method
BeginTx
BeginTx implement ConnBeginTx.
sqlite3_sql.go:41
↓ 1 callers
Method
BestIndex
http://sqlite.org/vtab.html#xbestindex
sqlite3_opt_vtable.go:695
↓ 1 callers
Method
Close
Close close backup.
backup.go:72
↓ 1 callers
Method
Column
http://sqlite.org/vtab.html#xcolumn
sqlite3_opt_vtable.go:725
↓ 1 callers
Method
ColumnTableName
ColumnTableName returns the table that is the origin of a particular result column in a SELECT statement. See https://www.sqlite.org/c3ref/column_dat
sqlite3_opt_column_metadata.go:20
↓ 1 callers
Method
Columns
Columns return column names.
sqlite3.go:2531
↓ 1 callers
Method
Connect
http://sqlite.org/vtab.html#xconnect
sqlite3_opt_vtable.go:679
↓ 1 callers
Method
Create
(c *SQLiteConn, args []string)
sqlite3_opt_vtable_test.go:35
↓ 1 callers
Method
Create
(c *SQLiteConn, args []string)
sqlite3_opt_vtable_test.go:344
↓ 1 callers
Method
Create
(c *SQLiteConn, args []string)
sqlite3_opt_vtable_test.go:518
↓ 1 callers
Method
Create
(c *SQLiteConn, args []string)
sqlite3_opt_vtable_destroy_test.go:19
↓ 1 callers
Method
Create
(c *sqlite3.SQLiteConn, args []string)
_example/vtable/vtable.go:23
↓ 1 callers
Method
Create
(c *sqlite3.SQLiteConn, args []string)
_example/vtable_eponymous_only/vtable.go:15
↓ 1 callers
Method
DeclTypes
DeclTypes return column types.
sqlite3.go:2565
↓ 1 callers
Method
Delete
(any)
sqlite3_opt_vtable.go:708
↓ 1 callers
Method
Deserialize
Deserialize causes the connection to disconnect from the current database and then re-open as an in-memory database based on the contents of the byte
sqlite3_opt_serialize.go:54
↓ 1 callers
Method
Destroy
http://sqlite.org/vtab.html#sqlite3_module.xDestroy
sqlite3_opt_vtable.go:699
↓ 1 callers
Method
DestroyModule
http://sqlite.org/c3ref/create_module.html
sqlite3_opt_vtable.go:681
↓ 1 callers
Method
Disconnect
http://sqlite.org/vtab.html#xdisconnect
sqlite3_opt_vtable.go:697
↓ 1 callers
Method
Done
()
sqlite3_test.go:1665
↓ 1 callers
Method
EOF
http://sqlite.org/vtab.html#xeof
sqlite3_opt_vtable.go:723
↓ 1 callers
Method
ExecContext
ExecContext implement ExecerContext.
sqlite3_sql.go:31
↓ 1 callers
Method
Filter
http://sqlite.org/vtab.html#xfilter
sqlite3_opt_vtable.go:719
↓ 1 callers
Method
GetLimit
GetLimit returns the current value of a run-time limit. See: sqlite3_limit, http://www.sqlite.org/c3ref/limit.html
sqlite3.go:2080
↓ 1 callers
Method
Insert
(any, []any)
sqlite3_opt_vtable.go:709
↓ 1 callers
Method
LoadExtension
LoadExtension load the sqlite3 extension.
sqlite3_load_extension.go:47
↓ 1 callers
Method
Old
Old populates dest with the row data to be replaced. This works similar to database/sql's Rows.Scan()
sqlite3_opt_preupdate_hook.go:103
↓ 1 callers
Method
PageCount
PageCount return count of pages.
backup.go:62
↓ 1 callers
Method
QueryContext
QueryContext implement QueryerContext.
sqlite3_sql.go:26
↓ 1 callers
Method
Readonly
Readonly reports if this statement is considered readonly by SQLite. See: https://sqlite.org/c3ref/stmt_readonly.html
sqlite3.go:2461
↓ 1 callers
Method
RegisterAuthorizer
RegisterAuthorizer sets the authorizer for connection. The parameters to the callback are the operation (one of the constants SQLITE_INSERT, SQLITE_D
sqlite3.go:700
↓ 1 callers
Method
RegisterCollation
RegisterCollation makes a Go function available as a collation. cmp receives two UTF-8 strings, a and b. The result should be 0 if a==b, -1 if a < b,
sqlite3.go:638
↓ 1 callers
Method
RegisterCommitHook
RegisterCommitHook sets the commit hook for a connection. If the callback returns non-zero the transaction will become a rollback. If there is an ex
sqlite3.go:656
↓ 1 callers
Method
RegisterPreUpdateHook
RegisterPreUpdateHook sets the pre-update hook for a connection. The callback is passed a SQLitePreUpdateData struct with the data for the update, as
sqlite3_opt_preupdate_hook.go:40
↓ 1 callers
Method
RegisterRollbackHook
RegisterRollbackHook sets the rollback hook for a connection. If there is an existing rollback hook for this connection, it will be removed. If callb
sqlite3.go:669
↓ 1 callers
Method
Remaining
Remaining return whether have the rest for backup.
backup.go:57
↓ 1 callers
Method
ResultBlob
ResultBlob sets the result of an SQL function. See: sqlite3_result_blob, http://sqlite.org/c3ref/result_blob.html
sqlite3_context.go:50
↓ 1 callers
Method
ResultBool
ResultBool sets the result of an SQL function.
sqlite3_context.go:40
↓ 1 callers
Method
ResultDouble
ResultDouble sets the result of an SQL function. See: sqlite3_result_double, http://sqlite.org/c3ref/result_blob.html
sqlite3_context.go:64
↓ 1 callers
Method
ResultNull
ResultNull sets the result of an SQL function. See: sqlite3_result_null, http://sqlite.org/c3ref/result_blob.html
sqlite3_context.go:86
↓ 1 callers
Method
Rowid
http://sqlite.org/vtab.html#xrowid
sqlite3_opt_vtable.go:727
↓ 1 callers
Method
Serialize
Serialize returns a byte slice that is a serialization of the database. See https://www.sqlite.org/c3ref/serialize.html
sqlite3_opt_serialize.go:26
↓ 1 callers
Method
SetFileControlInt
SetFileControlInt invokes the xFileControl method on a given database. The dbName is the name of the database. It will default to "main" if left blank
sqlite3.go:2103
↓ 1 callers
Method
SetFileControlInt64
SetFileControlInt64 invokes the xFileControl method on a given database. The dbName is the name of the database. It will default to "main" if left bla
sqlite3.go:2131
↓ 1 callers
Method
SetLimit
SetLimit changes the value of a run-time limits. Then this method returns the prior value of the limit. See: sqlite3_limit, http://www.sqlite.org/c3re
sqlite3.go:2087
↓ 1 callers
Method
SetTrace
SetTrace installs or removes the trace callback for the given database connection. It's not named 'RegisterTrace' because only one callback can be kep
sqlite3_trace.go:246
↓ 1 callers
Method
Step
(x int64)
_example/custom_func/main.go:44
↓ 1 callers
Method
Update
(any, []any)
sqlite3_opt_vtable.go:710
↓ 1 callers
Function
_parse_array
_example/mod_vtable/picojson.h:521
↓ 1 callers
Function
_parse_codepoint
_example/mod_vtable/picojson.h:442
↓ 1 callers
Function
_parse_number
_example/mod_vtable/picojson.h:559
↓ 1 callers
Function
_parse_object
_example/mod_vtable/picojson.h:538
↓ 1 callers
Function
_parse_quadhex
_example/mod_vtable/picojson.h:421
↓ 1 callers
Method
add
(c chan struct{})
sqlite3_opt_unlock_notify.go:40
↓ 1 callers
Function
addTraceMapping
(connHandle uintptr, traceConf TraceConfig)
sqlite3_trace.go:209
↓ 1 callers
Function
asBytes
(buf []byte, rv reflect.Value)
convert.go:282
↓ 1 callers
Function
asString
(src any)
convert.go:259
↓ 1 callers
Method
bindError
bindError converts a non-OK return code from bindValue into an error. The synthetic SQLITE_MISUSE returned for unsupported Go types is never recorded
sqlite3.go:2292
↓ 1 callers
Method
bindNamedIndices
(name string)
sqlite3.go:2235
↓ 1 callers
Function
bindText
(s *C.sqlite3_stmt, n C.int, v string)
sqlite3.go:2192
↓ 1 callers
Function
bindValue
(s *C.sqlite3_stmt, n C.int, value driver.Value)
sqlite3.go:2199
↓ 1 callers
Function
bulkInsert
(db *sql.DB, query string, args []any)
_example/limit/limit.go:30
↓ 1 callers
Function
cacheCount
(c *SQLiteConn, q string)
sqlite3_stmt_cache_test.go:145
↓ 1 callers
Function
cacheKeys
(c *SQLiteConn)
sqlite3_stmt_cache_test.go:137
↓ 1 callers
Function
callbackArgBytes
(v *C.sqlite3_value)
callback.go:235
↓ 1 callers
Function
callbackArgConvert
callbackArgConvert returns conv as-is when the parameter type is the canonical type conv produces, and wraps it with a cast for named types (e.g. time
callback.go:287
↓ 1 callers
Function
callbackArgFloat64
(v *C.sqlite3_value)
callback.go:228
↓ 1 callers
Function
callbackArgInt64
(v *C.sqlite3_value)
callback.go:209
↓ 1 callers
Function
callbackArgString
(v *C.sqlite3_value)
callback.go:250
↓ 1 callers
Function
callbackSyntheticForTests
Test support code. Tests are not allowed to import "C", so we can't declare any functions that use C.sqlite3_value.
callback.go:472
↓ 1 callers
Function
cloneBytes
(b []byte)
convert.go:250
↓ 1 callers
Function
cloneHandleVals
(size int)
callback.go:180
↓ 1 callers
Method
closeCachedStmtsLocked
()
sqlite3.go:1986
↓ 1 callers
Method
columnNamesLocked
(n int)
sqlite3.go:2504
↓ 1 callers
Function
constraints
(info *C.sqlite3_index_info)
sqlite3_opt_vtable.go:333
↓ 1 callers
Method
contains
_example/mod_vtable/picojson.h:251
↓ 1 callers
Function
convertAssign
embedded in descriptive error convertAssign copies to dest the value in src, converting it if possible. An error is returned if the copy would result
convert.go:26
↓ 1 callers
Function
createBulkInsertQuery
(n int, start int)
_example/limit/limit.go:13
↓ 1 callers
Method
cur
_example/mod_vtable/picojson.h:389
↓ 1 callers
Function
databaseTypeConvSqlite
(t string)
sqlite3_type.go:80
↓ 1 callers
Method
dbConnOpen
()
sqlite3.go:1915
↓ 1 callers
Function
dbDoInsert
(db *sql.DB)
_example/trace/main.go:172
↓ 1 callers
Function
dbDoInsertPrepared
(db *sql.DB)
_example/trace/main.go:184
↓ 1 callers
Function
dbDoSelect
(db *sql.DB)
_example/trace/main.go:216
↓ 1 callers
Function
dbDoSelectPrepared
(db *sql.DB)
_example/trace/main.go:228
↓ 1 callers
Function
dbMain
Harder to do DB work in main(). It's better with a separate function because 'defer' and 'os.Exit' don't go well together. DO NOT use 'log.Fatal...'
_example/trace/main.go:117
↓ 1 callers
Function
dbSetup
Number of Rows to Generate (for *each* approach tested)
_example/trace/main.go:159
↓ 1 callers
Method
declTypesLocked
(n int)
sqlite3.go:2517
↓ 1 callers
Function
deleteHandles
(db *SQLiteConn)
callback.go:155
↓ 1 callers
Function
doTestOpen
(t *testing.T, option string)
sqlite3_test.go:40
↓ 1 callers
Function
download
(prefix string)
upgrade/upgrade.go:23
↓ 1 callers
Function
drainRows
(b *testing.B, rows driver.Rows)
sqlite3_stmt_cache_bench_test.go:79
↓ 1 callers
Method
execNoArgs
execNoArgs executes a query with no parameters in a single CGO call per statement.
sqlite3.go:995
↓ 1 callers
Method
execSync
(args []driver.NamedValue)
sqlite3.go:2441
↓ 1 callers
Function
fillExpandedSQL
(info *TraceInfo, db *C.sqlite3, pStmt unsafe.Pointer)
sqlite3_trace.go:87
↓ 1 callers
Function
getRowCount
(rows *sql.Rows)
sqlite3_opt_vtable_test.go:331
↓ 1 callers
Function
is
_example/mod_vtable/picojson.h:828
↓ 1 callers
Function
isInterruptErr
(err error)
sqlite3.go:2401
← previous
next →
101–200 of 581, ranked by callers