MCPcopy Create free account

hub / github.com/mattn/go-sqlite3 / functions

Functions581 in github.com/mattn/go-sqlite3

↓ 1 callersMethodAuthUserAdd
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 callersMethodAuthenticate
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 callersMethodBeginTx
BeginTx implement ConnBeginTx.
sqlite3_sql.go:41
↓ 1 callersMethodBestIndex
http://sqlite.org/vtab.html#xbestindex
sqlite3_opt_vtable.go:695
↓ 1 callersMethodClose
Close close backup.
backup.go:72
↓ 1 callersMethodColumn
http://sqlite.org/vtab.html#xcolumn
sqlite3_opt_vtable.go:725
↓ 1 callersMethodColumnTableName
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 callersMethodColumns
Columns return column names.
sqlite3.go:2531
↓ 1 callersMethodConnect
http://sqlite.org/vtab.html#xconnect
sqlite3_opt_vtable.go:679
↓ 1 callersMethodCreate
(c *SQLiteConn, args []string)
sqlite3_opt_vtable_test.go:35
↓ 1 callersMethodCreate
(c *SQLiteConn, args []string)
sqlite3_opt_vtable_test.go:344
↓ 1 callersMethodCreate
(c *SQLiteConn, args []string)
sqlite3_opt_vtable_test.go:518
↓ 1 callersMethodCreate
(c *SQLiteConn, args []string)
sqlite3_opt_vtable_destroy_test.go:19
↓ 1 callersMethodCreate
(c *sqlite3.SQLiteConn, args []string)
_example/vtable/vtable.go:23
↓ 1 callersMethodCreate
(c *sqlite3.SQLiteConn, args []string)
_example/vtable_eponymous_only/vtable.go:15
↓ 1 callersMethodDeclTypes
DeclTypes return column types.
sqlite3.go:2565
↓ 1 callersMethodDelete
(any)
sqlite3_opt_vtable.go:708
↓ 1 callersMethodDeserialize
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 callersMethodDestroy
http://sqlite.org/vtab.html#sqlite3_module.xDestroy
sqlite3_opt_vtable.go:699
↓ 1 callersMethodDestroyModule
http://sqlite.org/c3ref/create_module.html
sqlite3_opt_vtable.go:681
↓ 1 callersMethodDisconnect
http://sqlite.org/vtab.html#xdisconnect
sqlite3_opt_vtable.go:697
↓ 1 callersMethodDone
()
sqlite3_test.go:1665
↓ 1 callersMethodEOF
http://sqlite.org/vtab.html#xeof
sqlite3_opt_vtable.go:723
↓ 1 callersMethodExecContext
ExecContext implement ExecerContext.
sqlite3_sql.go:31
↓ 1 callersMethodFilter
http://sqlite.org/vtab.html#xfilter
sqlite3_opt_vtable.go:719
↓ 1 callersMethodGetLimit
GetLimit returns the current value of a run-time limit. See: sqlite3_limit, http://www.sqlite.org/c3ref/limit.html
sqlite3.go:2080
↓ 1 callersMethodInsert
(any, []any)
sqlite3_opt_vtable.go:709
↓ 1 callersMethodLoadExtension
LoadExtension load the sqlite3 extension.
sqlite3_load_extension.go:47
↓ 1 callersMethodOld
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 callersMethodPageCount
PageCount return count of pages.
backup.go:62
↓ 1 callersMethodQueryContext
QueryContext implement QueryerContext.
sqlite3_sql.go:26
↓ 1 callersMethodReadonly
Readonly reports if this statement is considered readonly by SQLite. See: https://sqlite.org/c3ref/stmt_readonly.html
sqlite3.go:2461
↓ 1 callersMethodRegisterAuthorizer
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 callersMethodRegisterCollation
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 callersMethodRegisterCommitHook
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 callersMethodRegisterPreUpdateHook
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 callersMethodRegisterRollbackHook
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 callersMethodRemaining
Remaining return whether have the rest for backup.
backup.go:57
↓ 1 callersMethodResultBlob
ResultBlob sets the result of an SQL function. See: sqlite3_result_blob, http://sqlite.org/c3ref/result_blob.html
sqlite3_context.go:50
↓ 1 callersMethodResultBool
ResultBool sets the result of an SQL function.
sqlite3_context.go:40
↓ 1 callersMethodResultDouble
ResultDouble sets the result of an SQL function. See: sqlite3_result_double, http://sqlite.org/c3ref/result_blob.html
sqlite3_context.go:64
↓ 1 callersMethodResultNull
ResultNull sets the result of an SQL function. See: sqlite3_result_null, http://sqlite.org/c3ref/result_blob.html
sqlite3_context.go:86
↓ 1 callersMethodRowid
http://sqlite.org/vtab.html#xrowid
sqlite3_opt_vtable.go:727
↓ 1 callersMethodSerialize
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 callersMethodSetFileControlInt
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 callersMethodSetFileControlInt64
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 callersMethodSetLimit
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 callersMethodSetTrace
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 callersMethodStep
(x int64)
_example/custom_func/main.go:44
↓ 1 callersMethodUpdate
(any, []any)
sqlite3_opt_vtable.go:710
↓ 1 callersFunction_parse_array
_example/mod_vtable/picojson.h:521
↓ 1 callersFunction_parse_codepoint
_example/mod_vtable/picojson.h:442
↓ 1 callersFunction_parse_number
_example/mod_vtable/picojson.h:559
↓ 1 callersFunction_parse_object
_example/mod_vtable/picojson.h:538
↓ 1 callersFunction_parse_quadhex
_example/mod_vtable/picojson.h:421
↓ 1 callersMethodadd
(c chan struct{})
sqlite3_opt_unlock_notify.go:40
↓ 1 callersFunctionaddTraceMapping
(connHandle uintptr, traceConf TraceConfig)
sqlite3_trace.go:209
↓ 1 callersFunctionasBytes
(buf []byte, rv reflect.Value)
convert.go:282
↓ 1 callersFunctionasString
(src any)
convert.go:259
↓ 1 callersMethodbindError
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 callersMethodbindNamedIndices
(name string)
sqlite3.go:2235
↓ 1 callersFunctionbindText
(s *C.sqlite3_stmt, n C.int, v string)
sqlite3.go:2192
↓ 1 callersFunctionbindValue
(s *C.sqlite3_stmt, n C.int, value driver.Value)
sqlite3.go:2199
↓ 1 callersFunctionbulkInsert
(db *sql.DB, query string, args []any)
_example/limit/limit.go:30
↓ 1 callersFunctioncacheCount
(c *SQLiteConn, q string)
sqlite3_stmt_cache_test.go:145
↓ 1 callersFunctioncacheKeys
(c *SQLiteConn)
sqlite3_stmt_cache_test.go:137
↓ 1 callersFunctioncallbackArgBytes
(v *C.sqlite3_value)
callback.go:235
↓ 1 callersFunctioncallbackArgConvert
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 callersFunctioncallbackArgFloat64
(v *C.sqlite3_value)
callback.go:228
↓ 1 callersFunctioncallbackArgInt64
(v *C.sqlite3_value)
callback.go:209
↓ 1 callersFunctioncallbackArgString
(v *C.sqlite3_value)
callback.go:250
↓ 1 callersFunctioncallbackSyntheticForTests
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 callersFunctioncloneBytes
(b []byte)
convert.go:250
↓ 1 callersFunctioncloneHandleVals
(size int)
callback.go:180
↓ 1 callersMethodcloseCachedStmtsLocked
()
sqlite3.go:1986
↓ 1 callersMethodcolumnNamesLocked
(n int)
sqlite3.go:2504
↓ 1 callersFunctionconstraints
(info *C.sqlite3_index_info)
sqlite3_opt_vtable.go:333
↓ 1 callersMethodcontains
_example/mod_vtable/picojson.h:251
↓ 1 callersFunctionconvertAssign
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 callersFunctioncreateBulkInsertQuery
(n int, start int)
_example/limit/limit.go:13
↓ 1 callersMethodcur
_example/mod_vtable/picojson.h:389
↓ 1 callersFunctiondatabaseTypeConvSqlite
(t string)
sqlite3_type.go:80
↓ 1 callersMethoddbConnOpen
()
sqlite3.go:1915
↓ 1 callersFunctiondbDoInsert
(db *sql.DB)
_example/trace/main.go:172
↓ 1 callersFunctiondbDoInsertPrepared
(db *sql.DB)
_example/trace/main.go:184
↓ 1 callersFunctiondbDoSelect
(db *sql.DB)
_example/trace/main.go:216
↓ 1 callersFunctiondbDoSelectPrepared
(db *sql.DB)
_example/trace/main.go:228
↓ 1 callersFunctiondbMain
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 callersFunctiondbSetup
Number of Rows to Generate (for *each* approach tested)
_example/trace/main.go:159
↓ 1 callersMethoddeclTypesLocked
(n int)
sqlite3.go:2517
↓ 1 callersFunctiondeleteHandles
(db *SQLiteConn)
callback.go:155
↓ 1 callersFunctiondoTestOpen
(t *testing.T, option string)
sqlite3_test.go:40
↓ 1 callersFunctiondownload
(prefix string)
upgrade/upgrade.go:23
↓ 1 callersFunctiondrainRows
(b *testing.B, rows driver.Rows)
sqlite3_stmt_cache_bench_test.go:79
↓ 1 callersMethodexecNoArgs
execNoArgs executes a query with no parameters in a single CGO call per statement.
sqlite3.go:995
↓ 1 callersMethodexecSync
(args []driver.NamedValue)
sqlite3.go:2441
↓ 1 callersFunctionfillExpandedSQL
(info *TraceInfo, db *C.sqlite3, pStmt unsafe.Pointer)
sqlite3_trace.go:87
↓ 1 callersFunctiongetRowCount
(rows *sql.Rows)
sqlite3_opt_vtable_test.go:331
↓ 1 callersFunctionis
_example/mod_vtable/picojson.h:828
↓ 1 callersFunctionisInterruptErr
(err error)
sqlite3.go:2401
← previousnext →101–200 of 581, ranked by callers