Skip to main content

Zymba Documentation

SQL.SQLite3

object @SQL.SQLite3(@SQL.Connection) {
MODE_READ;
MODE_WRITE;
MODE_CREATE;
construct(string $path, int $mode, string $key) {}
createAggregate(string $name, function $callback_step, function $callback_final): $this {}
createCollation(string $name, function $callback): $this {}
createFunction(string $name, function $callback): $this {}
}

SQLite3 connection prototype.

Prototype

SQL.Connection

Methods

$this.construct(string $path, int $mode, string $key): void
Parameters
NameTypeValueDefault
pathstring""
modeintMODE_READ
keystring""
$this.createAggregate(string $name, function $callback_step, function $callback_final): this
Parameters
NameTypeValueDefault
namestring""
callback_stepfunctionnull
callback_finalfunctionnull
Returns
TypeValue
$this
$this.createCollation(string $name, function $callback): this
Parameters
NameTypeValueDefault
namestring""
callbackfunctionnull
Returns
TypeValue
$this
$this.createFunction(string $name, function $callback): this
Parameters
NameTypeValueDefault
namestring""
callbackfunctionnull
Returns
TypeValue
$this