Doctrine Project

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Doctrine MongoDB ODM
  • Doctrine MongoDB ODM
  • MODM-153

"Near" Query does not work.

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 1.0.0BETA2
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

"Near" statement does not work for me. The following code returns all cities from collection:

$cities = $this->dm->createQuery('City')
    ->field('coordinates')->near(50, 60)
    ->execute();

Could you please fix it?

Activity

  • All
  • Comments
  • History
  • Activity
  • Source
No changes have yet been made on this issue.

People

  • Assignee:
    Jonathan H. Wage
    Reporter:
    Dmitry
Vote (0)
Watch (0)

Dates

  • Created:
    10/Aug/11 12:55 PM
    Updated:
    20/Feb/12 7:54 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Doctrine Project. Try JIRA - bug tracking software for your team.