RETURNING
(lang_returning.html)
... The values emitted by the RETURNING clause are the values as seen
by the top-level DELETE, INSERT, or UPDATE statement
and do not reflect any subsequent value changes made by triggers.
Thus, if the database includes AFTER triggers that ...
|
C API: Data Change Notification Callbacks
(c3ref/update_hook.html)
sqlite3_update_hook()
... Do not rely on the order of the
hook call with regards to the final result of the operation which
triggers the hook.
The update hook implementation must not do anything that will modify
the database connection that invoked the ...
|
C API: Virtual Table Configuration Options
(c3ref/c_vtab_constraint_support.html)
SQLITE_VTAB_CONSTRAINT_SUPPORT, SQLITE_VTAB_INNOCUOUS, SQLITE_VTAB_DIRECTONLY, SQLITE_VTAB_USES_ALL_SCHEMAS
... SQLITE_VTAB_DIRECTONLY
Calls of the form
sqlite3_vtab_config(db,SQLITE_VTAB_DIRECTONLY) from within the
the xConnect or xCreate methods of a virtual table implementation
prohibits that virtual table from being used from within triggers and
views.
SQLITE_VTAB_INNOCUOUS
Calls of the form
sqlite3_vtab_config(db ...
|
C API: The pre-update hook.
(c3ref/preupdate_blobwrite.html)
sqlite3_preupdate_hook(), sqlite3_preupdate_old(), sqlite3_preupdate_count(), sqlite3_preupdate_depth(), sqlite3_preupdate_new(), sqlite3_preupdate_blobwrite()
... The sqlite3_preupdate_depth(D) interface returns 0 if the preupdate
callback was invoked as a result of a direct insert, update, or delete
operation; or 1 for inserts, updates, or deletes invoked by top-level
triggers; or 2 for changes resulting ...
|
Implementation Limits For SQLite
(limits.html)
... Maximum Depth Of Trigger Recursion
SQLite limits the depth of recursion of triggers in order to prevent
a statement involving recursive triggers from using an unbounded amount
of memory.
Prior to SQLite version 3.6.18 (2009-09-11),
triggers ...
|
C API: Authorizer Action Codes
(c3ref/c_alter_table.html)
SQLITE_CREATE_INDEX, SQLITE_CREATE_TABLE, SQLITE_CREATE_TEMP_INDEX, SQLITE_CREATE_TEMP_TABLE, SQLITE_CREATE_TEMP_TRIGGER, SQLITE_CREATE_TEMP_VIEW ...
... The 6th parameter to the authorizer callback
is the name of the inner-most trigger or view that is responsible for
the access attempt or NULL if this access attempt is directly from
top-level SQL code.
See also lists ...
|
UPSERT
(lang_upsert.html)
... The conflict target specifies a
uniqueness constraint that will trigger the upsert. The conflict target
may be omitted on the last ON CONFLICT clause in the INSERT statement, but
is required for all other ON CONFLICT clauses.
If the insert ...
|
INSERT
(lang_insert.html)
... The table name must be
unqualified for INSERT statements that occur within CREATE TRIGGER statements.
Similarly, the "DEFAULT VALUES" form of the INSERT statement is supported for
top-level INSERT statements only and not for INSERT statements within
triggers.
The ...
|
CREATE VIRTUAL TABLE
(lang_createvtab.html)
... In general, you can do anything with a virtual table that can be done
with an ordinary table, except that you cannot create indices or triggers on a
virtual table. Some virtual table implementations might impose additional
restrictions. For example ...
|
Syntax Diagrams For SQLite
(syntaxdiagrams.html)
... Used by: sql-stmt
References: column-def select-stmt table-constraint table-options
See also: lang_createtable.html
create-trigger-stmt:
Used by: sql-stmt
References:  ...
|
Page generated by FTS5 in about 52.64 ms.