trait QueryConditionTrait (View source)

Provides an implementation of ConditionInterface.

Properties

protected Condition $condition

The condition object for this query.

Methods

condition($field, $value = NULL, $operator = '=')

{@inheritdoc}

isNull($field)

{@inheritdoc}

isNotNull($field)

{@inheritdoc}

exists(SelectInterface $select)

{@inheritdoc}

notExists(SelectInterface $select)

{@inheritdoc}

alwaysFalse()

{@inheritdoc}

conditions()

{@inheritdoc}

arguments()

{@inheritdoc}

where($snippet, $args = [])

{@inheritdoc}

compile(Connection $connection, PlaceholderInterface $queryPlaceholder)

{@inheritdoc}

compiled()

{@inheritdoc}

conditionGroupFactory($conjunction = 'AND')

{@inheritdoc}

andConditionGroup()

{@inheritdoc}

orConditionGroup()

{@inheritdoc}

Details

condition($field, $value = NULL, $operator = '=')

{@inheritdoc}

Parameters

$field
$value
$operator

isNull($field)

{@inheritdoc}

Parameters

$field

isNotNull($field)

{@inheritdoc}

Parameters

$field

exists(SelectInterface $select)

{@inheritdoc}

Parameters

SelectInterface $select

notExists(SelectInterface $select)

{@inheritdoc}

Parameters

SelectInterface $select

alwaysFalse()

{@inheritdoc}

conditions()

{@inheritdoc}

arguments()

{@inheritdoc}

where($snippet, $args = [])

{@inheritdoc}

Parameters

$snippet
$args

compile(Connection $connection, PlaceholderInterface $queryPlaceholder)

{@inheritdoc}

Parameters

Connection $connection
PlaceholderInterface $queryPlaceholder

compiled()

{@inheritdoc}

conditionGroupFactory($conjunction = 'AND')

{@inheritdoc}

Parameters

$conjunction

andConditionGroup()

{@inheritdoc}

orConditionGroup()

{@inheritdoc}