Documentation

PatternMatchingOperators

Trait to represent pattern matching operators.

Table of Contents

Methods

ilike()  : PostgrestRequestBuilder
ILike operator.
imatch()  : PostgrestRequestBuilder
IMatch operator.
like()  : PostgrestRequestBuilder
Like operator.
match()  : PostgrestRequestBuilder
Match operator.
patternMatchingHelper()  : PostgrestRequestBuilder
Pattern matching operator helper.

Methods

patternMatchingHelper()

Pattern matching operator helper.

private patternMatchingHelper(Operator $op, string $columnName, string ...$value) : PostgrestRequestBuilder

Prevents code duplication.

Parameters
$op : Operator

The operator to use.

$columnName : string

The name of the column.

$value : string

The value(s) to use.

Tags
throws
FilterLogicException

If multiple values are passed without modifier like all() or any().

Return values
PostgrestRequestBuilder

The PostgrestRequestBuilder instance.


        
On this page

Search results