Permalink
Commits on Aug 2, 2012
  1. Clean up interfaces

    jmikola committed Aug 2, 2012
  2. Query::getSingleResult() should not take options

    This should have been cleaned up in 2892cd9
    jmikola committed Aug 2, 2012
Commits on Jul 30, 2012
Commits on Jul 24, 2012
Commits on Jul 19, 2012
  1. Merge pull request #64 from doctrine/group-options

    Revise query builder API for map/reduce and group
    jmikola committed Jul 19, 2012
Commits on Jul 16, 2012
  1. [Collection] Prepare reduce/finalize args for group queries

    MongoCollection::group() will internally convert a string "reduce" argument to a MongoCode object, but it won't do it for the "finalize" option. Explicitly prepare both as we do in the map/reduce method.
    
    Also, avoid calling MongoCollection::group() with an empty array as the options parameter, since this will trigger an E_DEPRECATED notice in version 1.2.11+ of the driver. That notice may be removed in version 1.3, but we should leave this in place until the deprecation notices are removed entirely in 2.0.
    jmikola committed Jul 16, 2012
  2. [Query] Improve builder interface for group queries

     * Use separate options array for group queries
     * Handle condition and finalize options for group queries
     * Allow reduce() and finalize() to be used for both map/reduce and group queries
    jmikola committed Jul 16, 2012
  3. [Query] Revise map/reduce builder method docs

    Also avoid resetting the query type to map/reduce when out() is invoked.
    jmikola committed Jul 16, 2012
Commits on Jul 13, 2012
  1. Merge pull request #63 from doctrine/geo-near

    Revise support for geoNear commands and $near query criteria
    jmikola committed Jul 13, 2012
Commits on Jul 12, 2012
  1. Fix event argument order when dispatching collectionPreNear

    Koji Iwazaki committed with jmikola Jul 12, 2012
  2. Revise support for geoNear commands and $near query criteria

    Fixes #47. Previously, the near() builder method was used to support the geoNear command instead of $near query criteria. This was unintuitive, given how other geo methods like withinBox() operated.
    
    Instead, we add a new geoNear() builder method, which operates similarly to mapReduce() and switches the query into GEO_LOCATION mode. We also add methods to specify the distanceMultipler and maxDistance options.
    
    The near() builder method is repurposed to define $near query criteria for a field or expression.
    jmikola committed Jul 12, 2012
Commits on Jul 2, 2012
Commits on Jun 27, 2012
Commits on Jun 20, 2012
  1. Implement polygon bound queries

    jmikola committed Jun 20, 2012
  2. Use composer for test suite

    jmikola committed Jun 20, 2012
Commits on Jun 15, 2012
Commits on Jun 14, 2012
Commits on Jun 9, 2012
  1. Merge pull request #56 from DenisGorbachev/patch-1

    Remove ambiguity
    jwage committed Jun 9, 2012
  2. I propose to remove ambiguity. "Erase all old sorts" implies that eac…

    …h subsequent sort() call removes effects of a previous sort() calls, which is not true.
    DenisGorbachev committed Jun 9, 2012
Commits on May 30, 2012
Commits on May 18, 2012
  1. Changed license from LGPL to MIT

    jmikola committed May 18, 2012
Commits on May 17, 2012
  1. Merge pull request #49 from kusmierz/master

    @Proxy is not defined Annotation
    jwage committed May 17, 2012
  2. Fix some undefined annotations

    Adam Kusmierz committed May 17, 2012
Commits on Mar 22, 2012
  1. Merge pull request #46 from jjbohn/fix/tear-down

    Use one database for all functional tests and only drop collections from that database on teardown
    jwage committed Mar 22, 2012
  2. Use one database for all functional tests and only drop collections f…

    …rom that database on teardown.
    jjbohn committed Mar 22, 2012
Commits on Feb 7, 2012
  1. Add Collection::upsert() method.

    jwage committed Feb 7, 2012