libasynql  3.2.0
Asynchronous MySQL access library for PocketMine plugins.
GenericStatement Interface Reference
Inheritance diagram for GenericStatement:
GenericStatementImpl MysqlStatementImpl SqliteStatementImpl

Public Member Functions

 getDialect ()
 
 getName ()
 
 getQuery ()
 
 getDoc ()
 
 getVariables ()
 
 getFile ()
 
 getLineNumber ()
 
 format (array $vars, ?string $placeHolder, ?array &$outArgs)
 

Detailed Description

Definition at line 27 of file GenericStatement.php.

Member Function Documentation

◆ format()

format ( array  $vars,
?string  $placeHolder,
?array &  $outArgs 
)

Creates a query based on the args and the backend

Parameters
mixed[]$vars the input arguments
string | null$placeHolderthe backend-dependent variable placeholder constant, if any
mixed[]&$outArgs will be filled with the variables to be passed to the backend
Returns
string

Implemented in GenericStatementImpl.

◆ getDialect()

getDialect ( )

Returns the dialect this query is intended for.

Returns
string one of the constants in SqlDialect

Implemented in MysqlStatementImpl, and SqliteStatementImpl.

◆ getDoc()

getDoc ( )

Implemented in GenericStatementImpl.

◆ getFile()

getFile ( )

Implemented in GenericStatementImpl.

◆ getLineNumber()

getLineNumber ( )

Implemented in GenericStatementImpl.

◆ getName()

getName ( )

Returns the identifier name of this query

Returns
string

Implemented in GenericStatementImpl.

◆ getQuery()

getQuery ( )

Implemented in GenericStatementImpl.

◆ getVariables()

getVariables ( )

Returns the variables required by this statement

Returns
GenericVariable[]

Implemented in GenericStatementImpl.


The documentation for this interface was generated from the following file: