This producer method is intended for convenient inline usage. Example:
$qb = $conn->createQueryBuilder()
->select('u')
->from('users', 'u')
->where($qb->expr()->eq('u.id', 1));
For more complex expression construction, consider storing the expression
builder object in a local variable. public expr ( ) : Doctrine\DBAL\Query\Expression\ExpressionBuilder | ||
return | Doctrine\DBAL\Query\Expression\ExpressionBuilder |