Menu

## AQL
in package

Abstract Yes
AQL.php : 22

Manages some AQL features

##### Tags

author

  Lucas S. Vieira

### Table of Contents

#### Methods

functions() : ArrayList
  Returns all registered AQL user functions.
validateQuery() : bool
  Validates a given AQL statement

### Methods

#### functions()

AQL.php : 62

Returns all registered AQL user functions.

`public static functions(Connection $connection[, string $namespace = "" ]) : ArrayList`

##### Parameters

$connection : Connection

  Connection object to use.

$namespace : string = ""

  Returns all registered AQL user functions from namespace 'namespace' under result.

##### Tags

throws
  ServerException|GuzzleException

##### Return values

ArrayList —

ArrayList with all AQL functions from server.

#### validateQuery()

AQL.php : 34

Validates a given AQL statement

`public static validateQuery(StatementInterface $statement, Connection $connection) : bool`

##### Parameters

$statement : StatementInterface

  Statement to be validated.

$connection : Connection

  Connection object to use.

##### Tags

throws
  AQLException|GuzzleException

##### Return values

bool

## Search results