sqlite_commit

mIRC SQLite

sqlite_commit
Commits a transaction.
Syntax
$sqlite_commit ( conn )
/sqlite_commit conn
Parameters
conn
The connection identifier.
Return Value
1 on success, or $null if there was an error.
Remarks
$sqlite_commit is a shorthand function provided for convience for executing COMMIT TRANSACTION on conn.

Committing a transaction will save all the changes that were done during the transaction to the database.

It is usually ok to ignore the return value of $sqlite_commit because the only case an error is returned is when an invalid conn is specified or it's used out of sequence.