database.prepare(sql)


新增于: v22.5.0
  • sql <string> 要编译为准备好的语句的 SQL 字符串。

    \sql <string> A SQL string to compile to a prepared statement.

  • 返回:StatementSync 准备好的语句。

    \Returns: StatementSync The prepared statement.

将 SQL 语句编译为 准备好的语句。此方法是 sqlite3_prepare_v2() 的封装器。

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

AltStyle によって変換されたページ (->オリジナル) /