EdgeQlQuery
in package
An EdgeQL query helper.
Table of Contents
- $query : string
- EdgeQL query
- $variables : stdClass
- EdgeQL query's variables
- __construct() : mixed
- Creates an EdgeQL query instance
- getQuery() : array<string|int, mixed>
- Generate an array with required EdgeDB fields.
Properties
$query
EdgeQL query
private
string
$query
$variables
EdgeQL query's variables
private
stdClass
$variables
Methods
__construct()
Creates an EdgeQL query instance
public
__construct(string $query[, array<string|int, mixed> $variables = [] ]) : mixed
Parameters
- $query : string
- $variables : array<string|int, mixed> = []
Return values
mixed —getQuery()
Generate an array with required EdgeDB fields.
public
getQuery() : array<string|int, mixed>