Permalink
Commits on Jan 14, 2013
  1. Allow a paginate query to override the total_entries value, enabling …

    kylev committed Jan 14, 2013
    …API consumers to potentially cache expensive counting operations.
Commits on Dec 31, 2012
  1. Release 0.6.2.

    jnunemaker committed Dec 31, 2012
    * do not normalize empty array to $in
    * correctly handle merging of bson object ids in criteria
  2. Merge pull request #29 from paulwalker/empty_array_crit_value_fix

    jnunemaker committed Dec 31, 2012
    do not normalize to $in operator with an empty array
  3. Merge pull request #30 from jnunemaker/fix-bson-id-merging

    jnunemaker committed Dec 31, 2012
    Fix bson id merging
  4. Releasing 0.6.1.

    jnunemaker committed Dec 31, 2012
  5. Merge branch 'master' of github.com:jnunemaker/plucky

    jnunemaker committed Dec 31, 2012
    Conflicts:
    	lib/plucky/query.rb
  6. Merge pull request #26 from wpeterson/perf/exists

    jnunemaker committed Dec 31, 2012
    Fix exists?() performance using find_one().
  7. do not normalize to $in operator with an empty array

    Paul Walker
    Paul Walker committed Dec 31, 2012
Commits on Dec 28, 2012
  1. Release 0.6.0.

    jnunemaker committed Dec 28, 2012
Commits on Nov 13, 2012
  1. Fix exists?() performance using find_one().

    Winfield Peterson
    Winfield Peterson committed Nov 13, 2012
    Use find_one() instead of count(), since it's faster on most datastores for large collections. Especially MongoDB, where count() can't use indexes properly.
Commits on Oct 23, 2012
  1. #reverse will sort by _id descending if no sort is specified. Provide…

    cheald committed Oct 23, 2012
    …s functionality parity with AR.
  2. Change #exists? to use a single-record lookup rather than count, whic…

    cheald committed Oct 23, 2012
    …h must do a full collection scan
Commits on Oct 19, 2012
  1. Remove extraneous &block binding, remove extraneous method calls via …

    cheald committed Oct 19, 2012
    …method aliasing, fix Query#all to collect documents as it iterates them, rather than invoking to_a on the cursor post-iteration
Commits on Oct 13, 2012
Commits on Oct 12, 2012
Commits on Oct 11, 2012
  1. A bunch of docs.

    jnunemaker committed Oct 11, 2012
  2. Original instead of source

    jnunemaker committed Oct 11, 2012
  3. Explicit > method missing for criteria hash

    jnunemaker committed Oct 11, 2012
    Also used instance variables where possible instead of methods.
  4. Rename source to original

    jnunemaker committed Oct 11, 2012
  5. Change key error to argument error.

    jnunemaker committed Oct 11, 2012
    Ruby 1.8 and 1.9 raise different errors for key missing when using
    fetch.
  6. Move options hash value normalization to multiple files

    jnunemaker committed Oct 11, 2012
    Each piece is customizable now and definitely getting more clear.
    Slowly but surely.