libasynql
3.2.0
Asynchronous MySQL access library for PocketMine plugins.
|
Public Member Functions | |
getName () | |
getQuery () | |
getDoc () | |
getVariables () | |
getFile () | |
getLineNumber () | |
__construct (string $name, string $query, string $doc, array $variables, ?string $file, int $lineNo) | |
format (array $vars, ?string $placeHolder, ?array &$outArgs) | |
jsonSerialize () | |
Public Member Functions inherited from GenericStatement | |
getDialect () | |
Static Public Member Functions | |
static | forDialect (string $dialect, string $name, string $query, string $doc, array $variables, ?string $file, int $lineNo) |
Protected Member Functions | |
compilePositions () | |
formatVariable (GenericVariable $variable, $value, ?string $placeHolder, array &$outArgs) | |
Protected Attributes | |
$name | |
$query | |
$doc | |
$variables | |
$file | |
$lineNo | |
$varPositions = [] | |
Definition at line 41 of file GenericStatementImpl.php.
__construct | ( | string | $name, |
string | $query, | ||
string | $doc, | ||
array | $variables, | ||
?string | $file, | ||
int | $lineNo | ||
) |
Definition at line 101 of file GenericStatementImpl.php.
|
protected |
Definition at line 112 of file GenericStatementImpl.php.
|
static |
string | $dialect | |
string | $name | |
string | $query | |
string | $doc | |
GenericVariable[] | $variables | |
string | null | $file | |
int | $lineNo |
Definition at line 92 of file GenericStatementImpl.php.
format | ( | array | $vars, |
?string | $placeHolder, | ||
?array & | $outArgs | ||
) |
Creates a query based on the args and the backend
mixed[] | $vars the input arguments | |
string | null | $placeHolder | the backend-dependent variable placeholder constant, if any |
mixed[] | &$outArgs will be filled with the variables to be passed to the backend |
Implements GenericStatement.
Definition at line 176 of file GenericStatementImpl.php.
|
abstractprotected |
getDoc | ( | ) |
Implements GenericStatement.
Definition at line 66 of file GenericStatementImpl.php.
getFile | ( | ) |
Implements GenericStatement.
Definition at line 74 of file GenericStatementImpl.php.
getLineNumber | ( | ) |
Implements GenericStatement.
Definition at line 78 of file GenericStatementImpl.php.
getName | ( | ) |
Returns the identifier name of this query
Implements GenericStatement.
Definition at line 58 of file GenericStatementImpl.php.
getQuery | ( | ) |
Implements GenericStatement.
Definition at line 62 of file GenericStatementImpl.php.
getVariables | ( | ) |
Returns the variables required by this statement
Implements GenericStatement.
Definition at line 70 of file GenericStatementImpl.php.
jsonSerialize | ( | ) |
Definition at line 208 of file GenericStatementImpl.php.
|
protected |
Definition at line 47 of file GenericStatementImpl.php.
|
protected |
Definition at line 51 of file GenericStatementImpl.php.
|
protected |
Definition at line 53 of file GenericStatementImpl.php.
|
protected |
Definition at line 43 of file GenericStatementImpl.php.
|
protected |
Definition at line 45 of file GenericStatementImpl.php.
|
protected |
Definition at line 49 of file GenericStatementImpl.php.
|
protected |
Definition at line 56 of file GenericStatementImpl.php.