public function setCondition($field_name, $value, $operation = '=')
    {
        $this->condition[$field_name] = [
            'value' => $value,
            'operation' => $operation
        ];

        return $this;
    }
public function setCondition($field_name, $value, $operation = '=')
    {
        $this->condition[$field_name] = [
            'value' => $value,
            'operation' => $operation
        ];

        return $this;
    }
public function setCondition ( $ field_name , $ value , $ operation = '=' ) { $ this -> condition [ $ field_name ] = [ 'value' => $ value , 'operation' => $ operation ] ; return $ this ; }
Set field conditions.

@param string $field_name
The field name. Use dot notation if you need to check conditions that
are nested.
@param string $value
The field value that needs to be met.
Set field conditions .