|
C API: SQL Trace Hook
(c3ref/trace_v2.html)
sqlite3_trace_v2()
The sqlite3_trace_v2(D,M,X,P) interface registers a trace callback
function X against database connection D, using property mask M
and context pointer P. If the X callback is
NULL or if the M mask is zero, then tracing ...
|
|
Built-in Aggregate Functions
(lang_aggfunc.html)
... List of built-in aggregate functions
avg(X)
count(*)
count(X)
group_concat(X)
group_concat(X,Y)
max(X)
median(X)
min(X)
percentile(Y,P)
percentile_cont(Y,P)
percentile_disc(Y,P)
string_agg(X,Y)
sum(X)
total(X)
3. Descriptions ...
|
|
C API: String LIKE Matching
(c3ref/strlike.html)
sqlite3_strlike()
The sqlite3_strlike(P,X,E) interface returns zero if and only if
string X matches the LIKE pattern P with escape character E.
The definition of LIKE pattern matching used in
sqlite3_strlike(P,X,E) is the same as for ...
|
|
C API: Bind array values to the CARRAY table-valued function
(c3ref/carray_bind.html)
sqlite3_carray_bind_v2(), sqlite3_carray_bind()
The sqlite3_carray_bind_v2(S,I,P,N,F,X,D) interface binds an array value to
parameter that is the first argument of the carray() table-valued function.
The S parameter is a pointer to the prepared statement that uses the ...
|
|
C API: String Globbing
(c3ref/strglob.html)
sqlite3_strglob()
The sqlite3_strglob(P,X) interface returns zero if and only if
string X matches the GLOB pattern P.
The definition of GLOB pattern matching used in
sqlite3_strglob(P,X) is the same as for the "X GLOB P" operator in ...
|
|
C API: SQL Trace Event Codes
(c3ref/c_trace.html)
SQLITE_TRACE_STMT, SQLITE_TRACE_PROFILE, SQLITE_TRACE_ROW, SQLITE_TRACE_CLOSE
... xCallback(T,C,P,X).
The T argument is one of the integer type codes above.
The C argument is a copy of the context pointer passed in as the
fourth argument to sqlite3_trace_v2().
The P and X arguments are ...
|
|
C API: Find all elements on the right-hand side of an IN constraint.
(c3ref/vtab_in_first.html)
sqlite3_vtab_in_first(), sqlite3_vtab_in_next()
... The X parameter in a call to sqlite3_vtab_in_first(X,P) or
sqlite3_vtab_in_next(X,P) should be one of the parameters to the
xFilter method which invokes these routines, and specifically
a parameter that was previously selected for all-at-once ...
|
|
C API: Obtaining SQL Values
(c3ref/value_blob.html)
sqlite3_value_blob(), sqlite3_value_double(), sqlite3_value_int(), sqlite3_value_int64(), sqlite3_value_pointer(), sqlite3_value_text ...
... If sqlite3_value object V was initialized
using sqlite3_bind_pointer(S,I,P,X,D) or sqlite3_result_pointer(C,P,X,D)
and if X and Y are strings that compare equal according to strcmp(X,Y),
then sqlite3_value_pointer(V,Y) will return ...
|
|
JSON Functions And Operators
(json1.html)
4.20. The json_type() function
The json_type(X) function returns the "type" of the outermost element
of X. The json_type(X,P) function returns the "type" of the element
in X that is selected by path P. The "type" returned by json_type() is
one of ...
|
|
C API: Checkpoint a database
(c3ref/wal_checkpoint.html)
sqlite3_wal_checkpoint()
The sqlite3_wal_checkpoint(D,X) is equivalent to
sqlite3_wal_checkpoint_v2(D,X,SQLITE_CHECKPOINT_PASSIVE,0,0).
In brief, sqlite3_wal_checkpoint(D,X) causes the content in the
write-ahead log for database X on database connection D to be
transferred into the database file ...
|
Page generated by FTS5 in about 84.73 ms.