0 follower

Class yii\db\conditions\HashCondition

Inheritanceyii\db\conditions\HashCondition
Implementsyii\db\conditions\ConditionInterface
Available since version2.0.14
Source Code https://github.com/yiisoft/yii2/blob/master/framework/db/conditions/HashCondition.php

Condition based on column-value pairs.

Method Details

__construct() public method

HashCondition constructor.

public void __construct ( $hash )
$hash array|null
fromArrayDefinition() public static method

{@inheritdoc}

public static void fromArrayDefinition ( $operator, $operands )
$operator
$operands
getHash() public method

public array|null getHash ( )