Show / Hide Table of Contents

Method sqlite.Statement(+ 1 overload)


Overload

Returns new sqliteStatement(this, sql).

public sqliteStatement Statement(string sql)
Parameters
sql  (string)

Single SQL statement. This function does not execute it.

Returns
sqliteStatement
Exceptions
SLException

Failed.

NotSupportedException

sql contains more than single SQL statement.

See Also

sqliteStatement

Overload(top)

Returns new sqliteStatement(this, sql).BindAll(bind).

public sqliteStatement Statement(string sql, params object[] bind)
Parameters
sql  (string)

Single SQL statement. This function does not execute it.

bind  (object[])

Values that will replace ? characters in sql. Optional. Read about SQL parameters in SQLite website. Supported types: sqliteStatement.BindAll. Example: sqlite.

Returns
sqliteStatement
Exceptions
NotSupportedException
  • sql contains more than single SQL statement.
  • A bind value is of an unsupported type.
SLException

Failed.

See Also

sqliteStatement
sqliteStatement.BindAll