thank you very much :)

2014-03-25 7:44 GMT-04:00 Marco Pivetta <[email protected]>:

> Hey Safraoui,
>
> Yes, Nima is quite correct: you need to use "findBy" and pass in the
> "deleted" flag as part of your criteria.
>
> Other possible solutions are to use SQL filters (see
> http://docs.doctrine-project.org/en/latest/reference/filters.html ) or
> the Gedmo Softdeleteable extension (see
> https://github.com/l3pp4rd/DoctrineExtensions/blob/ff48eb01a10c520f1e76db8ede7fb701ee057c2d/doc/softdeleteable.md)
>
> Cheers,
>
> Marco Pivetta
>
> http://twitter.com/Ocramius
>
> http://ocramius.github.com/
>
>
> On 25 March 2014 12:39, safraoui karim <[email protected]> wrote:
>
>> thank you
>> can yo show me an example plz ?
>>
>>
>> 2014-03-25 7:11 GMT-04:00 Nima Sadjadi <[email protected]>:
>>
>>> If you use findBy instead of find and pass both id, deleted parameters
>>> to it as an array, doctrine will AND it and will not find deleted/not
>>> deleted for you.
>>> Marco will correct me if I am wrong.
>>>
>>> --
>>> 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/Ly2I_2sKSqE/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 a topic in the
> Google Groups "doctrine-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/doctrine-user/Ly2I_2sKSqE/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.

Reply via email to