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
ilike()
ILike operator.
public
ilike(string $columnName, string ...$value) : PostgrestRequestBuilder
Parameters
- $columnName : string
-
The name of the column.
- $value : string
-
The value(s) to use.
Tags
Return values
PostgrestRequestBuilder —The PostgrestRequestBuilder instance.
imatch()
IMatch operator.
public
imatch(string $columnName, string ...$value) : PostgrestRequestBuilder
Parameters
- $columnName : string
-
The name of the column.
- $value : string
-
The value(s) to use.
Tags
Return values
PostgrestRequestBuilder —The PostgrestRequestBuilder instance.
like()
Like operator.
public
like(string $columnName, string ...$value) : PostgrestRequestBuilder
Parameters
- $columnName : string
-
The name of the column.
- $value : string
-
The value(s) to use.
Tags
Return values
PostgrestRequestBuilder —The PostgrestRequestBuilder instance.
match()
Match operator.
public
match(string $columnName, string ...$value) : PostgrestRequestBuilder
Parameters
- $columnName : string
-
The name of the column.
- $value : string
-
The value(s) to use.
Tags
Return values
PostgrestRequestBuilder —The PostgrestRequestBuilder instance.
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
Return values
PostgrestRequestBuilder —The PostgrestRequestBuilder instance.