ConditionInterface
extends
ExpressionInterface
in
Interface ConditionInterface should be implemented by classes that represent a condition in DBAL of framework.
Tags
Table of Contents
Methods
- fromArrayDefinition() : $this
- Creates object by array-definition as described in [Query Builder – Operator format](guide:db-query-builder#operator-format) guide article.
Methods
fromArrayDefinition()
Creates object by array-definition as described in [Query Builder – Operator format](guide:db-query-builder#operator-format) guide article.
public
static fromArrayDefinition(string $operator, array<string|int, mixed> $operands) : $this
Parameters
- $operator : string
-
operator in uppercase.
- $operands : array<string|int, mixed>
-
array of corresponding operands