Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 15, 2011
  1. @rauchg

    Release 1.0.12

    rauchg authored
  2. @bnoguchi

    Cleaned up Query requires.

    bnoguchi authored
  3. @bnoguchi
  4. @bnoguchi

    Removed old TODO comments.

    bnoguchi authored
  5. @bnoguchi

    Added in code for merging options and fields from cumulativeQuery int…

    bnoguchi authored
    …o current query in Mondel.<queryMethod> (e.g., Model.find)
  6. @bnoguchi
  7. @bnoguchi
  8. @bnoguchi

    Merge branch 'master' into namedScope

    bnoguchi authored
    Conflicts:
    	lib/mongoose/model.js
  9. @bnoguchi

    Updated namedscope test which was mistakenly testing for multi-update…

    bnoguchi authored
    …s, on a non-multi-update. Added an edge case for update where passed in set-to-doc is {}.
  10. @bnoguchi

    Removed legacy castQuery method in model.js. Added in namedScope test…

    bnoguchi authored
    …s for remove and update. Started making fixes to make them pass.
Commits on Feb 14, 2011
  1. @rauchg

    Release 1.0.11

    rauchg authored
  2. @rauchg

    Style fixes

    rauchg authored
    Removed castQuery
  3. @bnoguchi

    Added alternative approach to using Model.create(...) that enables us…

    bnoguchi authored
    … to create multiple documents in the same invocation. This helps us to avoid ugly nested callbacks in our tests. Converted one test to use this new approach.
  4. @bnoguchi
  5. @bnoguchi

    Added jsdoc for our $where Query shortcut method for doing queries wi…

    bnoguchi authored
    …th javascript expressions/functions. Also added $where directly to Model, so now you can invoke $where directly on model, and it delegates to a new Query instance.
  6. @bnoguchi
  7. @bnoguchi
  8. @bnoguchi
  9. @bnoguchi
  10. @bnoguchi
  11. @bnoguchi

    Added some jsdoc.

    bnoguchi authored
  12. @bnoguchi

    Removed Query types (e.g., FindQuery) in favor of just Query class. T…

    bnoguchi authored
    …his increases our flexibility to do things like User.sort('updatedAt', -1).remove() without knowing at the time of invoking `sort` that we'll be using the query for a `remove` one chain link later. Made appropriate adjustments so our test suites all pass.
  13. @bnoguchi

    Fixed other tests that broke because of switch from exec/run(model, c…

    bnoguchi authored
    …b). to query.bind(model).run(cb)
  14. @bnoguchi
  15. @bnoguchi

    Implemented nice hack so you can do SomeSchema.namedScope('twenties')…

    bnoguchi authored
    ….olderThan(19).youngerThan(30). Before, implementation did not support chaining olderThan and youngerThan after SomeSchema.namedScope.
  16. @bnoguchi
  17. @bnoguchi

    Added tests to demonstrate a suggested API for doing named scopes in …

    bnoguchi authored
    …model querying. Started working on implementation for it.
  18. @bnoguchi
  19. @bnoguchi
  20. @bnoguchi
  21. @bnoguchi
  22. @bnoguchi

    Added test and fix for STRICT null path queries. Fixed Date, Number, …

    bnoguchi authored
    …ObjectId, and String type to keep a null value as null in its `cast` function.
  23. @bnoguchi

    Added test for find "path: null" returning docs with null and undefin…

    bnoguchi authored
    …ed at path. Made fix to make this pass.
  24. @bnoguchi

    Added test for $ne.

    bnoguchi authored
  25. @bnoguchi
Something went wrong with that request. Please try again.