Oihana PHP Arango

HasFilterNumber

This trait defines the date filter helpers.

Configure

Defines the 'filters' property in the model (Documents) definition.

Models::PLACES => fn( ContainerInterface $container ) => new Documents
(
    $container ,
    Collections::PLACES ,
    [
        ...
        AQL::FILTERS =>
        [
             Prop::CAPACITY => FilterType::NUMBER ,
             ...
        ]
        ...
Tags
example
?filter={ "key":"price" , "val":100 , "op":"ge"}

Table of Contents

Methods

prepareFilterNumber()  : string
Prepares the filter clause with a string attribute.

Methods

prepareFilterNumber()

Prepares the filter clause with a string attribute.

protected prepareFilterNumber([array<string|int, mixed> $init = [] ][, array<string|int, mixed>|null &$binds = null ][, string $doc = AQL::DOC ]) : string
Parameters
$init : array<string|int, mixed> = []
$binds : array<string|int, mixed>|null = null
$doc : string = AQL::DOC
Tags
throws
BindException
UnsupportedOperationException
ValidationException
Return values
string
On this page

Search results