On this page, you will find more information about the libSQL Statement and available functions.
LibSQLStatement
class is responsible for managing SQL statement preparation, execution, and result retrieval. It provides methods to bind parameters, execute statements, and retrieve data from the database.
bindNamed
array<string, mixed> $parameters
: The parameters to bind.bindPositional
array<mixed> $parameters
: The parameter index (starting at 1) or name to bind to.query
array|null $parameters
(optional): Parameters to bind to the statement before execution.execute
array|null $parameters
(optional): Parameters to bind to the statement before execution.reset
parameterCount
parameterName
int $idx
: The index of the parameter.columns