Well,
im asking about that :
$queryBuilder
->select('u.id', 'u.name')
->from('users', 'u')
->where('u.email = ?')
->setParameter(0, $userInputEmail)
i know that expr() dosent allow select from :)
$queryBuilder
->select('u.id', 'u.name')
->expr()->( select(xxx)->from(yyy0 )->join('users', 'u')
->where('u.email = ?')
->setParameter(0, $userInputEmail)
and
2014-03-24 20:38 GMT-04:00 Marco Pivetta <[email protected]>:
> Well, with DBAL, you'd just throw that SQL at your
> Doctrine\DBAL\Connection instance... The Question asked about "DQL", which
> is the ORM DSL for querying.
>
> Marco Pivetta
>
> http://twitter.com/Ocramius
>
> http://ocramius.github.com/
>
>
> On 25 March 2014 00:25, Nima Sadjadi <[email protected]> wrote:
>
>> Hi,
>>
>> Sorry I a, newbie and cannot help you. just noticed Marco understood you
>> wrongly,
>>
>>
>>
>>
>> On Tue, Mar 25, 2014 at 3:52 AM, safraoui karim
>> <[email protected]>wrote:
>>
>>> Nima Sadjadi,
>>> yes , i want to use dbal :)
>>>
>>>
>>> 2014-03-24 10:11 GMT-04:00 Nima Sadjadi <[email protected]>:
>>>
>>>> Marco, I think he wants to do it with dbal, not with orm as you said!
>>>>
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "doctrine-user" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/doctrine-user/sYRtEFkVxQw/unsubscribe
>>>> .
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>>
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at http://groups.google.com/group/doctrine-user.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "doctrine-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/doctrine-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "doctrine-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/doctrine-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "doctrine-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/doctrine-user/sYRtEFkVxQw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.