CompiledQuery Class
Aurora\Database\Query Namespace
Properties
parameters
Query parameters
protected $parameters = []: array
code
Query code
protected $code = '': string
Methods
getCode
Get code
Return Value
string
Signature
public function getCode(): string
getParameters
Get parameters
Return Value
array
Signature
public function getParameters(): array
setCode
Set code
Parameters
-
string
$code
— Query code
Signature
public function setCode(string $code)
addParameter
Add a parameter
Parameters
-
mixed
$parameter
— Parameter or array of parameters
Signature
public function addParameter(mixed $parameter)