Skip to main content
method DatabaseSync.prototype.prepare
DatabaseSync.prototype.prepare(sql: string): StatementSync
Deprecated

Compiles a SQL statement into a prepared statement. This method is a wrapper around sqlite3_prepare_v2().

Parameters

sql: string

A SQL string to compile to a prepared statement.

Return Type

The prepared statement.

Back to top