src/DataStore/src/DataStore/ConditionBuilder/ConditionBuilderAbstract.php
public function makeBinaryOperator(BinaryOperatorNodeAbstract $node)
    {
        $nodeName = $node->getNodeName();

        if (!isset($this->literals['BinaryOperator'][$nodeName])) {
            throw new DataStoreException(
                'The Binary Operator not supported: ' . $nodeName
            );
        }

        $strQuery = $this->literals['BinaryOperator'][$nodeName]['before']
            . $this->prepareFieldName($node->getField())
            . $this->literals['BinaryOperator'][$nodeName]['after'];

        return $strQuery;
    }
public function makeBinaryOperator(BinaryOperatorNodeAbstract $node)
    {
        $nodeName = $node->getNodeName();

        if (!isset($this->literals['BinaryOperator'][$nodeName])) {
            throw new DataStoreException(
                'The Binary Operator not supported: ' . $nodeName
            );
        }

        $strQuery = $this->literals['BinaryOperator'][$nodeName]['before']
            . $this->prepareFieldName($node->getField())
            . $this->literals['BinaryOperator'][$nodeName]['after'];

        return $strQuery;
    }
public function makeBinaryOperator ( BinaryOperatorNodeAbstract $ node ) { $ nodeName = $ node -> getNodeName ( ) ; if ( ! isset ( $ this -> literals [ 'BinaryOperator' ] [ $ nodeName ] ) ) { throw new DataStoreException ( 'The Binary Operator not supported: ' . $ nodeName ) ; } $ strQuery = $ this -> literals [ 'BinaryOperator' ] [ $ nodeName ] [ 'before' ] . $ this -> prepareFieldName ( $ node -> getField ( ) ) . $ this -> literals [ 'BinaryOperator' ] [ $ nodeName ] [ 'after' ] ; return $ strQuery ; }
Make string with conditions for binary operators

@param BinaryOperatorNodeAbstract $node
@return string
Make string with conditions for binary operators