Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mattn/go-sqlite3
/ functions
Functions
530 in github.com/mattn/go-sqlite3
⨍
Functions
530
◇
Types & classes
111
↓ 101 callers
Method
Close
http://sqlite.org/vtab.html#xclose
sqlite3_opt_vtable.go:674
↓ 83 callers
Method
Open
http://sqlite.org/vtab.html#xopen
sqlite3_opt_vtable.go:658
↓ 69 callers
Method
Exec
Exec implements Execer.
sqlite3.go:839
↓ 59 callers
Method
Scan
(value interface{})
sqlite3_test.go:1294
↓ 46 callers
Function
TempFilename
(t testing.TB)
sqlite3_test.go:31
↓ 44 callers
Method
Error
Error return error message from errno.
error.go:69
↓ 38 callers
Method
Query
Query implements Queryer.
sqlite3.go:904
↓ 36 callers
Method
Next
http://sqlite.org/vtab.html#xnext
sqlite3_opt_vtable.go:678
↓ 23 callers
Method
New
New populates dest with the replacement row data. This works similar to database/sql's Rows.Scan()
sqlite3_opt_preupdate_hook.go:107
↓ 20 callers
Function
lookupHandle
(handle unsafe.Pointer)
callback.go:127
↓ 19 callers
Method
lastError
()
sqlite3.go:809
↓ 12 callers
Method
Prepare
Prepare the query string. Return a new statement.
sqlite3.go:1800
↓ 11 callers
Method
Ping
Ping implement Pinger.
sqlite3_go18.go:18
↓ 11 callers
Function
newHandle
(db *SQLiteConn, v interface{})
callback.go:109
↓ 10 callers
Method
Begin
Begin transaction.
sqlite3.go:957
↓ 10 callers
Function
mPrintf
mPrintf is a utility wrapper around sqlite3_mprintf
sqlite3_opt_vtable.go:378
↓ 9 callers
Method
Commit
Commit transaction.
sqlite3.go:495
↓ 9 callers
Method
RowsAffected
RowsAffected return how many rows affected.
sqlite3.go:2019
↓ 8 callers
Method
tearDown
()
sqlite3_test.go:2124
↓ 7 callers
Method
Done
(ctx *C.sqlite3_context)
sqlite3.go:473
↓ 7 callers
Method
LastInsertId
LastInsertId return last inserted ID.
sqlite3.go:2014
↓ 7 callers
Method
begin
(ctx context.Context)
sqlite3.go:961
↓ 7 callers
Method
mustExec
(sql string, args ...interface{})
sqlite3_test.go:2116
↓ 7 callers
Method
q
q replaces ? parameters if needed
sqlite3_test.go:2138
↓ 6 callers
Function
_parse
_example/mod_vtable/picojson.h:576
↓ 5 callers
Method
CreateModule
CreateModule registers a virtual table implementation. See: http://sqlite.org/c3ref/create_module.html
sqlite3_opt_vtable.go:701
↓ 5 callers
Method
DeclareVTab
DeclareVTab declares the Schema of a virtual table. See: http://sqlite.org/c3ref/declare_vtab.html
sqlite3_opt_vtable.go:689
↓ 5 callers
Method
ResultInt
ResultInt sets the result of an SQL function. See: sqlite3_result_int, http://sqlite.org/c3ref/result_blob.html
sqlite3_context.go:71
↓ 5 callers
Method
Rollback
Rollback transaction.
sqlite3.go:509
↓ 5 callers
Function
callbackRet
(typ reflect.Type)
callback.go:370
↓ 5 callers
Method
exec
(ctx context.Context, query string, args []namedValue)
sqlite3.go:850
↓ 5 callers
Method
getc
_example/mod_vtable/picojson.h:368
↓ 5 callers
Function
initDatabase
(t *testing.T, db *sql.DB, rowCount int64)
sqlite3_go18_test.go:84
↓ 5 callers
Method
push_back
_example/mod_vtable/picojson.h:679
↓ 5 callers
Method
ungetc
_example/mod_vtable/picojson.h:383
↓ 4 callers
Method
Call
(ctx *C.sqlite3_context, argv []*C.sqlite3_value)
sqlite3.go:400
↓ 4 callers
Method
Create
http://sqlite.org/vtab.html#xcreate
sqlite3_opt_vtable.go:634
↓ 4 callers
Method
ExecContext
ExecContext implement ExecerContext.
sqlite3_go18.go:36
↓ 4 callers
Method
RegisterFunc
RegisterFunc makes a Go function available as a SQLite function. The Go function can have arguments of the following types: any numeric type except c
sqlite3.go:612
↓ 4 callers
Method
Run
(v *C.sqlite3_value)
callback.go:152
↓ 4 callers
Function
copy
_example/mod_vtable/picojson.h:283
↓ 4 callers
Method
prepare
(ctx context.Context, query string)
sqlite3.go:1804
↓ 3 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:131
↓ 3 callers
Method
Backup
Backup make backup from src to dest.
backup.go:28
↓ 3 callers
Method
Close
Close the connection.
sqlite3.go:1777
↓ 3 callers
Method
RegisterAggregator
RegisterAggregator makes a Go type available as a SQLite aggregation function. Because aggregation is incremental, it's implemented in Go with a type
sqlite3.go:694
↓ 3 callers
Function
Version
Version returns SQLite library version information.
sqlite3.go:248
↓ 3 callers
Function
_parse_string
_example/mod_vtable/picojson.h:483
↓ 3 callers
Method
blobType
(size int)
sqlite3_test.go:2151
↓ 3 callers
Function
callbackArg
(typ reflect.Type)
callback.go:237
↓ 3 callers
Function
callbackError
(ctx *C.sqlite3_context, err error)
callback.go:399
↓ 3 callers
Function
parse
_example/mod_vtable/picojson.h:705
↓ 3 callers
Function
unlock_notify_wait
export unlock_notify_wait
sqlite3_opt_unlock_notify.go:72
↓ 2 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:89
↓ 2 callers
Method
Count
Count returns the number of columns in the row
sqlite3_opt_preupdate_hook.go:53
↓ 2 callers
Function
CryptEncoderSSHA1
CryptEncoderSSHA1 encodes a password with SHA1 with the configured salt.
sqlite3_func_crypt.go:60
↓ 2 callers
Function
CryptEncoderSSHA256
CryptEncoderSSHA256 encodes a password with SHA256 with the configured salt
sqlite3_func_crypt.go:77
↓ 2 callers
Function
CryptEncoderSSHA384
CryptEncoderSSHA384 encodes a password with SHA384 with the configured salt
sqlite3_func_crypt.go:94
↓ 2 callers
Function
CryptEncoderSSHA512
CryptEncoderSSHA512 encodes a password with SHA512 with the configured salt
sqlite3_func_crypt.go:111
↓ 2 callers
Method
Extend
Extend return extended errno.
error.go:74
↓ 2 callers
Method
Finish
Finish close backup.
backup.go:67
↓ 2 callers
Method
NumInput
NumInput return a number of parameters.
sqlite3.go:1909
↓ 2 callers
Method
Open
Open database and return a new connection. A pragma can take either zero or one argument. The argument is may be either in parentheses or it may be s
sqlite3.go:1071
↓ 2 callers
Method
RegisterUpdateHook
RegisterUpdateHook sets the update hook for a connection. The parameters to the callback are the operation (one of the constants SQLITE_INSERT, SQLIT
sqlite3.go:574
↓ 2 callers
Method
ResultInt64
ResultInt64 sets the result of an SQL function. See: sqlite3_result_int64, http://sqlite.org/c3ref/result_blob.html
sqlite3_context.go:81
↓ 2 callers
Method
ResultText
ResultText sets the result of an SQL function. See: sqlite3_result_text, http://sqlite.org/c3ref/result_blob.html
sqlite3_context.go:93
↓ 2 callers
Method
Step
(ctx *C.sqlite3_context, argv []*C.sqlite3_value)
sqlite3.go:453
↓ 2 callers
Method
agg
(ctx *C.sqlite3_context)
sqlite3.go:436
↓ 2 callers
Method
bind
(args []namedValue)
sqlite3.go:1915
↓ 2 callers
Function
callbackArgGeneric
(v *C.sqlite3_value)
callback.go:218
↓ 2 callers
Function
callbackConvertArgs
(argv []*C.sqlite3_value, converters []callbackArgConverter, variadic callbackArgConverter)
callback.go:268
↓ 2 callers
Method
declTypes
()
sqlite3.go:2136
↓ 2 callers
Method
exec
exec executes a query that doesn't return rows. Attempts to honor context timeout.
sqlite3.go:2044
↓ 2 callers
Method
expect
_example/mod_vtable/picojson.h:400
↓ 2 callers
Function
fillDBError
(dbErr *Error, db *C.sqlite3)
sqlite3_trace.go:79
↓ 2 callers
Function
freeTestDB
()
sqlite3_test.go:2082
↓ 2 callers
Method
get
(h uint)
sqlite3_opt_unlock_notify.go:50
↓ 2 callers
Function
initializeTestDB
(t testing.TB)
sqlite3_test.go:2071
↓ 2 callers
Function
lastError
Note: may be called with db == nil
sqlite3.go:814
↓ 2 callers
Method
loadExtension
(lib string, entry *string)
sqlite3_load_extension.go:65
↓ 2 callers
Function
lookupHandleVal
(handle unsafe.Pointer)
callback.go:121
↓ 2 callers
Function
ok
_example/mod_vtable/picojson.h:820
↓ 2 callers
Function
popTraceMapping
'pop' = get and delete from map before returning the value to the caller
sqlite3_trace.go:229
↓ 2 callers
Method
query
(ctx context.Context, query string, args []namedValue)
sqlite3.go:915
↓ 2 callers
Method
query
(ctx context.Context, args []namedValue)
sqlite3.go:1995
↓ 2 callers
Function
resultDoCheck
(result sql.Result, callerDescr string, callIndex int)
_example/trace/main.go:203
↓ 2 callers
Method
row
(dest []interface{}, new bool)
sqlite3_opt_preupdate_hook.go:57
↓ 2 callers
Function
rowsDoFetch
(rows *sql.Rows, callerDescr string)
_example/trace/main.go:246
↓ 2 callers
Method
serialize
_example/mod_vtable/picojson.h:315
↓ 2 callers
Function
sqlite3CreateFunction
(db *C.sqlite3, zFunctionName *C.char, nArg C.int, eTextRep C.int, pApp unsafe.Pointer, xFunc unsafe.Pointer,
sqlite3.go:673
↓ 2 callers
Function
swap
_example/mod_vtable/picojson.h:779
↓ 2 callers
Function
testBackup
Test the backup functionality.
backup_test.go:26
↓ 1 callers
Method
AuthEnabled
AuthEnabled checks if the database is protected by user authentication
sqlite3_opt_userauth.go:268
↓ 1 callers
Method
AuthUserChange
AuthUserChange can be used to change a users login credentials or admin privilege. Any user can change their own login credentials. Only an admin use
sqlite3_opt_userauth.go:180
↓ 1 callers
Method
AuthUserDelete
AuthUserDelete can be used (by an admin user only) to delete a user. The currently logged-in user cannot be deleted, which guarantees that there is al
sqlite3_opt_userauth.go:232
↓ 1 callers
Method
BeginTx
BeginTx implement ConnBeginTx.
sqlite3_go18.go:50
↓ 1 callers
Method
BestIndex
http://sqlite.org/vtab.html#xbestindex
sqlite3_opt_vtable.go:652
↓ 1 callers
Method
Close
Close close backup.
backup.go:72
↓ 1 callers
Method
Column
http://sqlite.org/vtab.html#xcolumn
sqlite3_opt_vtable.go:682
↓ 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:19
next →
1–100 of 530, ranked by callers