Doctrine Website
  1. Doctrine Website
  2. DWEB-44

Documentation about NOT IN or <> ALL seems to be wrong

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Component/s: Documentation
    • Labels:
      None

      Description

      The ALL or ANY operators like presented in the documentation http://www.doctrine-project.org/documentation/manual/1_2/en/dql-doctrine-query-language#conditional-expressions:all-and-any-expressions seems to be not working.

      I'm trying to use them but no way, I always get errors. For exemple if I do this query:

      Doctrine_Query::create()
      ->from('Contact')
      ->where('Contact.id <> ALL (FROM Email(contact_id)')
      ->execute();

      I get this error:
      PHP Fatal error: Uncaught exception 'Doctrine_Exception' with message 'Couldn't find class Email(contact_id)'

      Is there a problem in the documentation??

        Activity

        Hide
        David Jeanmonod added a comment -

        I'm not sure if this is a documentation issue or a bug. If you need, I can provide a test case. Just ask...

        Show
        David Jeanmonod added a comment - I'm not sure if this is a documentation issue or a bug. If you need, I can provide a test case. Just ask...

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            David Jeanmonod
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: