Doctrine Website
  1. Doctrine Website
  2. DWEB-39

Typo in example in DQL documentation

    Details

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

      Description

      http://www.doctrine-project.org/documentation/manual/1_2/en/dql-doctrine-query-language

      Finding all articles which don't have readers:
      // test.php

      // ...
      $q = Doctrine_Query::create()
      ->select('a.id')
      ->from('Article a')
      ->where('NOT EXISTS (SELECT r.id FROM ReaderLog r WHERE r.article_id = a.id));

      echo $q->getSqlQuery();

      There is missing apostrophe at the end of the where line.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Doesnt matter who I am
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: