->query()
Runs a set of SurrealQL statements against the database.
Arguments
| Arguments | Type | Description |
|---|---|---|
$query
|
string
| Specifies the SurrealQL statements. |
$vars
|
associative array
| Assigns variables which can be used in the query. |