Michael Klishin
4ff7d05aa4
monger.credentials/for => monger.credentials/create
...
To make sure we don't shadow clojure.core/for when monger.credentials
is required with :refer :all.
2015-06-27 22:39:01 +03:00
Bartek Marcinowski
15f50408a9
Merge branch 'add_options_to_aggregate'
...
Merge implementation of aggregation framework options and explanation of
aggregation query plan.
Conflicts:
src/clojure/monger/collection.clj
2015-06-24 16:05:47 +01:00
Bartek Marcinowski
f0946acd75
Enable query plan explanation for the aggregation framework
...
Add the explain-aggregate function, which returns a map containing
information about the given aggregation query.
2015-06-24 15:51:24 +01:00
Bartek Marcinowski
136dea00b2
Add allow-disk-use and cursor options to aggregate
...
Reimplement aggregate on top of the Java driver's DBCollection#aggregate
in order to return a cursor for the results. This allows users to
overcome the 16MB result size limit and specify the cursor batch size.
The allowDiskUse can also be passed to Mongo, through the allow-disk-use
key. The maxTime option enables setting a limit (in milliseconds) on the
execution time of the query, through the max-time key.
2015-06-24 15:47:46 +01:00
Joshua Karstendick
d337cd1546
added failing unit test
2015-06-23 17:21:05 -04:00
Tom McMillen
602b6e3ce9
Add JSON serialization of BSONTimestamp
2015-05-17 13:27:40 -07:00
Michael Klishin
8b2fd956e4
Rework authentication for the 3.0 client and multiple server versions
...
When authentication failures, MongoDB Java client throws a timeout
exception whose cause is a failed command exception which carries
a reason. Still not great at authentication failure notification.
2015-05-17 18:51:44 +03:00
Michael Klishin
6ca5b9d4ba
monger.search is gone
...
Full text search in 3.0 is supported via regular queries
with the $text operator.
2015-05-16 15:38:41 +03:00
Michael Klishin
a8d42a62f5
Adapt this test for 3.0
2015-05-11 01:42:01 +03:00
Michael Klishin
26be7bb1b9
Make command-test pass
2015-05-11 01:19:47 +03:00
Michael Klishin
07a9c5ee16
Silence MongoDB Java driver logger
2015-05-11 00:15:56 +03:00
Michael Klishin
0b72761b44
Adapt monger.{core,collection} and tests to recent changes
...
Down to 50 failures and 11 errors in `lein test`.
2015-02-22 19:26:27 +03:00
Michael Klishin
25c1c56fc9
This DFRef ctor was removed
2015-02-21 12:20:06 +03:00
Michael Klishin
2d58b02b13
Upgrade to MongoDB 2.13.0
2015-02-21 12:10:01 +03:00
Robin Heggelund Hansen
1c62587165
Fixes #77 : Add update-by-ids function to mongo.collection
2014-10-21 06:06:06 +02:00
Robin Heggelund Hansen
696a5ad8e3
Added tests for 'update' functions
2014-10-21 05:59:28 +02:00
Juha Jokimäki
2c019e5e91
Support for $each modifier
2014-07-18 14:47:37 +03:00
Michael Klishin
f846cd0a51
Make mongo-options take a map instead of pseudo-kwards, extract mongo-options-builder
2014-06-15 17:39:32 +04:00
Michael Klishin
40bc1861a7
Cosmetics
2014-05-29 01:27:58 +04:00
Michael Klishin
cb6210d573
Cosmetics
2014-05-29 00:55:47 +04:00
Michael Klishin
53ce5808c4
Cosmetics
2014-05-29 00:40:27 +04:00
Michael Klishin
3fda07999d
An typo
2014-05-11 13:39:37 -04:00
Michael Klishin
6f93043eab
Another session store test suite now passes
2014-05-11 13:38:44 -04:00
Michael Klishin
d7965adb86
Remove tests that are now duplicates
2014-05-11 13:37:18 -04:00
Michael Klishin
9a185596ac
Clojure [Ring] session store tests now pass
2014-05-11 13:35:53 -04:00
Michael Klishin
31ebc18c12
Ragtime integration tests now pass
2014-05-11 13:32:22 -04:00
Michael Klishin
eaa66edc93
Cosmetics
2014-05-11 13:30:36 -04:00
Michael Klishin
03e7bfa1c7
Query operator tests now pass
2014-05-11 13:30:12 -04:00
Michael Klishin
431e4495af
Typo
2014-05-11 13:27:41 -04:00
Michael Klishin
b3c501a73a
Inserting tests now pass
2014-05-11 13:26:27 -04:00
Michael Klishin
c29587f66d
Cursor tests now pass
2014-05-11 13:19:19 -04:00
Michael Klishin
6acfb43314
Collection op tests now pass
2014-05-11 13:17:14 -04:00
Michael Klishin
f02a2b0afc
Capped collection tests now pass
2014-05-11 13:12:30 -04:00
Michael Klishin
d7902c9618
Query DSL tests now pass
2014-05-11 13:10:56 -04:00
Michael Klishin
565ec43398
Atomic modifiers tests now pass
2014-05-11 12:59:15 -04:00
Michael Klishin
60a419953f
Remove an unused import
2014-05-11 12:59:08 -04:00
Michael Klishin
c64f5a66d9
Updating test now passes
2014-05-11 12:50:21 -04:00
Michael Klishin
37e8df8300
And even fewer
2014-05-11 12:42:33 -04:00
Michael Klishin
f0722561c3
Run fewer cycles
...
Saves laptop batter while I'm on this flight, yo.
2014-05-11 12:42:23 -04:00
Michael Klishin
c75b02814d
Stress test now passes
2014-05-11 12:36:14 -04:00
Michael Klishin
eddc8b20bd
Regular finders tests now pass
2014-05-10 18:05:25 -04:00
Michael Klishin
353df3b841
monger.result tests now pass
2014-05-10 17:55:38 -04:00
Michael Klishin
58d426d6aa
Map/Reduce tests now pass
2014-05-10 17:50:03 -04:00
Michael Klishin
5fb665e5eb
Don't use removed test helper here
2014-05-10 17:49:55 -04:00
Michael Klishin
b1e874aa87
monger.fn can go now since we rely on ClojureWerkz Support
2014-05-10 17:43:43 -04:00
Michael Klishin
c6ef174535
monger.test.indexing-test now passes
2014-05-10 17:39:39 -04:00
Michael Klishin
56eebda3fd
GridFS tests now pass, plus API improvements that make sense for 2.0
2014-05-10 17:34:22 -04:00
Michael Klishin
a7cceebe9c
Search tests now pass
2014-05-10 17:04:55 -04:00
Michael Klishin
912b9e4d45
monger.db tests now pass
2014-05-10 16:57:42 -04:00
Michael Klishin
d3cb048d2b
monger.core tests now pass
2014-05-10 16:52:44 -04:00