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
↓ 1 callers
Method
Connect
http://sqlite.org/vtab.html#xconnect
sqlite3_opt_vtable.go:636
↓ 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:331
↓ 1 callers
Method
Create
(c *SQLiteConn, args []string)
sqlite3_opt_vtable_test.go:505
↓ 1 callers
Method
Create
(c *sqlite3.SQLiteConn, args []string)
_example/vtable/vtable.go:22
↓ 1 callers
Method
Create
(c *sqlite3.SQLiteConn, args []string)
_example/vtable_eponymous_only/vtable.go:13
↓ 1 callers
Method
DeclTypes
DeclTypes return column types.
sqlite3.go:2147
↓ 1 callers
Method
Delete
(interface{})
sqlite3_opt_vtable.go:665
↓ 1 callers
Method
Destroy
http://sqlite.org/vtab.html#sqlite3_module.xDestroy
sqlite3_opt_vtable.go:656
↓ 1 callers
Method
DestroyModule
http://sqlite.org/c3ref/create_module.html
sqlite3_opt_vtable.go:638
↓ 1 callers
Method
Disconnect
http://sqlite.org/vtab.html#xdisconnect
sqlite3_opt_vtable.go:654
↓ 1 callers
Method
Done
()
sqlite3_test.go:1520
↓ 1 callers
Method
EOF
http://sqlite.org/vtab.html#xeof
sqlite3_opt_vtable.go:680
↓ 1 callers
Method
Filter
http://sqlite.org/vtab.html#xfilter
sqlite3_opt_vtable.go:676
↓ 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:1852
↓ 1 callers
Method
Insert
(interface{}, []interface{})
sqlite3_opt_vtable.go:666
↓ 1 callers
Method
LoadExtension
LoadExtension load the sqlite3 extension.
sqlite3_load_extension.go:46
↓ 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:98
↓ 1 callers
Method
PageCount
PageCount return count of pages.
backup.go:62
↓ 1 callers
Method
QueryContext
QueryContext implement QueryerContext.
sqlite3_go18.go:27
↓ 1 callers
Method
Readonly
Readonly reports if this statement is considered readonly by SQLite. See: https://sqlite.org/c3ref/stmt_readonly.html
sqlite3.go:2098
↓ 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:588
↓ 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:526
↓ 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:544
↓ 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:39
↓ 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:557
↓ 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:51
↓ 1 callers
Method
ResultBool
ResultBool sets the result of an SQL function.
sqlite3_context.go:41
↓ 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:65
↓ 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:87
↓ 1 callers
Method
Rowid
http://sqlite.org/vtab.html#xrowid
sqlite3_opt_vtable.go:684
↓ 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:1872
↓ 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:1859
↓ 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:245
↓ 1 callers
Method
Step
(x int64)
_example/custom_func/main.go:44
↓ 1 callers
Method
Update
(interface{}, []interface{})
sqlite3_opt_vtable.go:667
↓ 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:35
↓ 1 callers
Function
addTraceMapping
(connHandle uintptr, traceConf TraceConfig)
sqlite3_trace.go:208
↓ 1 callers
Function
asBytes
(buf []byte, rv reflect.Value)
convert.go:282
↓ 1 callers
Function
asString
(src interface{})
convert.go:259
↓ 1 callers
Method
authEnabled
authEnabled perform the actual check for user authentication. This is not exported for usage in Go. It is however exported for usage within SQL by th
sqlite3_opt_userauth.go:285
↓ 1 callers
Method
authUserAdd
authUserAdd enables the User Authentication if not enabled. Otherwise it will add a user. When user authentication is already enabled then this funct
sqlite3_opt_userauth.go:161
↓ 1 callers
Method
authUserChange
authUserChange allows to modify a user. Users can change their own password. Only admins can change passwords for other users and modify the admin fl
sqlite3_opt_userauth.go:213
↓ 1 callers
Method
authUserDelete
authUserDelete can be used to delete a user. This function can only be executed by an admin. This is not exported for usage in Go. It is however exp
sqlite3_opt_userauth.go:255
↓ 1 callers
Method
authenticate
authenticate provides the actual authentication to SQLite. This is not exported for usage in Go. It is however exported for usage within SQL by the us
sqlite3_opt_userauth.go:109
↓ 1 callers
Function
bulkInsert
(db *sql.DB, query string, args []interface{})
_example/limit/limit.go:30
↓ 1 callers
Function
callbackArgBytes
(v *C.sqlite3_value)
callback.go:189
↓ 1 callers
Function
callbackArgFloat64
(v *C.sqlite3_value)
callback.go:182
↓ 1 callers
Function
callbackArgInt64
(v *C.sqlite3_value)
callback.go:163
↓ 1 callers
Function
callbackArgString
(v *C.sqlite3_value)
callback.go:204
↓ 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:407
↓ 1 callers
Function
cloneBytes
(b []byte)
convert.go:250
↓ 1 callers
Function
constraints
(info *C.sqlite3_index_info)
sqlite3_opt_vtable.go:322
↓ 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:1790
↓ 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
Function
deleteHandles
(db *SQLiteConn)
callback.go:131
↓ 1 callers
Function
doTestOpen
(t *testing.T, option string)
sqlite3_test.go:40
↓ 1 callers
Function
doTestOpenContext
(t *testing.T, option string)
sqlite3_go18_test.go:291
↓ 1 callers
Function
download
(prefix string)
upgrade/upgrade.go:24
↓ 1 callers
Method
execSync
(args []namedValue)
sqlite3.go:2076
↓ 1 callers
Function
fillExpandedSQL
(info *TraceInfo, db *C.sqlite3, pStmt unsafe.Pointer)
sqlite3_trace.go:86
↓ 1 callers
Function
getRowCount
(rows *sql.Rows)
sqlite3_opt_vtable_test.go:318
↓ 1 callers
Function
is
_example/mod_vtable/picojson.h:828
↓ 1 callers
Function
isInterruptErr
(err error)
sqlite3.go:2035
↓ 1 callers
Method
line
_example/mod_vtable/picojson.h:390
↓ 1 callers
Method
loadExtensions
(extensions []string)
sqlite3_load_extension.go:24
↓ 1 callers
Function
lookupTraceMapping
(connHandle uintptr)
sqlite3_trace.go:220
↓ 1 callers
Function
memfclose
_example/mod_vtable/sqlite3_mod_vtable.cc:31
↓ 1 callers
Function
memfopen
_example/mod_vtable/sqlite3_mod_vtable.cc:21
↓ 1 callers
Function
mergeFile
(src string, dst string)
upgrade/upgrade.go:60
↓ 1 callers
Function
my_connect
_example/mod_vtable/sqlite3_mod_vtable.cc:63
↓ 1 callers
Method
nextSyncLocked
nextSyncLocked moves cursor to next; must be called with locked mutex.
sqlite3.go:2185
↓ 1 callers
Function
orderBys
(info *C.sqlite3_index_info)
sqlite3_opt_vtable.go:344
↓ 1 callers
Method
parse_array_item
_example/mod_vtable/picojson.h:620
↓ 1 callers
Method
parse_array_start
_example/mod_vtable/picojson.h:619
↓ 1 callers
Method
parse_array_stop
_example/mod_vtable/picojson.h:623
↓ 1 callers
Method
parse_object_item
_example/mod_vtable/picojson.h:625
↓ 1 callers
Method
parse_object_start
_example/mod_vtable/picojson.h:624
↓ 1 callers
Method
parse_string
_example/mod_vtable/picojson.h:618
↓ 1 callers
Function
plan
_example/mod_vtable/picojson.h:813
↓ 1 callers
Function
randStringBytes
(n int)
sqlite3_go18_test.go:76
↓ 1 callers
Method
remove
(h uint)
sqlite3_opt_unlock_notify.go:44
↓ 1 callers
Function
scanType
(cdt string)
sqlite3_type.go:58
↓ 1 callers
Method
serialPK
()
sqlite3_test.go:2163
← previous
next →
101–200 of 530, ranked by callers