Commit graph

395 commits

Author SHA1 Message Date
Michael Klishin
6a15f6959e Ditto 2014-05-09 17:08:44 -04:00
Michael Klishin
58015b4f40 Ditto 2014-05-09 17:08:37 -04:00
Michael Klishin
c0ef0ab7c8 Ditto 2014-05-09 17:08:34 -04:00
Michael Klishin
a7ccfbecab Ditto 2014-05-09 17:08:31 -04:00
Michael Klishin
ca40889348 Ditto 2014-05-09 17:08:27 -04:00
Michael Klishin
63168d68f5 Ditto 2014-05-09 17:08:24 -04:00
Michael Klishin
1991308567 Ditto 2014-05-09 17:08:21 -04:00
Michael Klishin
bf0f20e0d9 Ditto 2014-05-09 17:08:18 -04:00
Michael Klishin
a0e4c9ea93 Ditto 2014-05-09 17:08:16 -04:00
Michael Klishin
2d77d1ba27 Ditto 2014-05-09 17:08:14 -04:00
Michael Klishin
e240e906b0 Ditto 2014-05-09 17:08:11 -04:00
Michael Klishin
8a4c497ea7 Ditto 2014-05-09 17:08:09 -04:00
Michael Klishin
de377f3849 Don't set compiler reflection warnings here, it's done by Lein 2 now 2014-05-09 17:08:05 -04:00
Michael Klishin
31bcb51ee4 Use separate collections for these tests
Make tests pass on MongoDB 2.6.
2014-05-09 17:04:54 -04:00
Michael Klishin
b86cabdc1a One more assertion 2014-05-09 17:01:02 -04:00
Michael Klishin
373c4db7a4 Greatly speed up monger.multi.* tests, esp. with MongoDB 2.6 2014-05-09 16:58:33 -04:00
Michael Klishin
f5d87d0aaa Make sure field parameters are in the correct order 2014-03-02 21:34:54 +04:00
Michael Klishin
413d4484b8 Update this test 2014-03-02 21:02:59 +04:00
Michael Klishin
e362d32b3a Update this test for 2.12.x 2014-03-02 14:48:15 +04:00
Matti Jagula
c81026e308 Added support for $first and $last aggregation operators. 2013-12-04 21:43:40 +02:00
Michael Klishin
568ba283c8 Ditto 2013-11-30 23:46:45 +04:00
Michael Klishin
0755c0c4b1 ws 2013-11-30 23:46:34 +04:00
Michael Klishin
0f773b8dfe Ditto 2013-11-30 23:46:12 +04:00
Michael Klishin
4201107a0a Ditto 2013-11-30 20:04:09 +04:00
Michael Klishin
23300cf73c Ditto 2013-11-30 20:03:42 +04:00
Michael Klishin
de4eb78d83 Ditto 2013-11-30 20:03:22 +04:00
Michael Klishin
d4ea338f19 Cosmetics 2013-11-30 20:03:03 +04:00
Michael Klishin
0cbde38d77 Ditto 2013-11-30 20:02:59 +04:00
Michael Klishin
4e0548c151 Ditto 2013-11-30 20:02:17 +04:00
Michael Klishin
1e9f915921 Ditto 2013-11-30 20:02:02 +04:00
Michael Klishin
db79ec0079 Ditto 2013-11-30 20:01:42 +04:00
Michael Klishin
18d924317d Ditto 2013-11-30 20:01:26 +04:00
Michael Klishin
635436a438 Ditto 2013-11-30 20:00:52 +04:00
Michael Klishin
2d43975ce3 Ditto 2013-11-30 20:00:37 +04:00
Michael Klishin
6cd615ea97 Ditto 2013-11-30 20:00:20 +04:00
Michael Klishin
790fc63f7c Ditto 2013-11-30 19:59:26 +04:00
Michael Klishin
08887043db Ditto 2013-11-30 19:58:46 +04:00
Michael Klishin
01ae26ff2b Ditto 2013-11-30 19:53:48 +04:00
Michael Klishin
af262d3b82 Ditto 2013-11-30 19:53:16 +04:00
Michael Klishin
490aaa3dad Ditto 2013-11-30 19:48:35 +04:00
Michael Klishin
57348f0650 Ditto 2013-11-30 19:48:32 +04:00
Michael Klishin
c110553be9 Ditto 2013-11-30 19:48:25 +04:00
Michael Klishin
646e75ddf4 Ditto 2013-11-30 14:58:44 +04:00
Michael Klishin
eb0a257d8f Ditto 2013-11-30 14:57:53 +04:00
Michael Klishin
3e6d65e837 Ditto 2013-11-30 14:52:31 +04:00
Michael Klishin
e4ec4fc351 Ditto 2013-11-30 14:51:57 +04:00
Michael Klishin
bba5cc50c6 Ditto 2013-11-30 14:22:24 +04:00
Michael Klishin
b476562edc Ditto 2013-11-30 14:21:55 +04:00
Michael Klishin
47b14ee8a1 Ditto 2013-11-30 14:21:36 +04:00
Michael Klishin
251f6fc765 Ditto 2013-11-30 14:21:12 +04:00
Michael Klishin
0dca29285c Ditto 2013-11-30 14:20:37 +04:00
Michael Klishin
19d0058c53 Ditto 2013-11-30 14:20:16 +04:00
Michael Klishin
141380dd26 Ditto 2013-11-30 14:19:50 +04:00
Michael Klishin
1da5f64b91 Ditto 2013-11-30 14:19:25 +04:00
Michael Klishin
9760e88b66 Ditto 2013-11-30 14:18:55 +04:00
Michael Klishin
a2ff58f4f4 Ditto 2013-11-30 14:18:24 +04:00
Michael Klishin
b24517e648 Ditto 2013-11-30 14:17:48 +04:00
Michael Klishin
65e6310758 Don't use :use 2013-11-30 14:17:24 +04:00
Michael Klishin
a468f75a7c Don't use :use 2013-11-30 14:14:06 +04:00
Michael Klishin
bb5a57b468 This feature has long been a part of a stable release 2013-11-30 03:52:39 +04:00
Michael Klishin
3d120456ff Merge pull request #62 from timgluz/query_options
Enhancements for tweaking options of dbCursor
2013-09-21 13:04:48 -07:00
Timo Sulg
2dca992496 added cursor namespaces, cleanups;
refactored helpers for DBCursor into own namespace;
cleaned up previous hacks;
added extra classes for add-options;
added tests for cursor namespace;
2013-09-21 15:46:01 +02:00
Timo Sulg
b57c97a962 fixed tests for LocalDate - now tests components of date separately. 2013-09-11 16:29:59 +02:00
Timo Sulg
7b3869ec04 Moved localdate tests into lib_integration_test. 2013-09-11 14:51:35 +02:00
Timo Sulg
679fd2bf92 Added support for LocalDate - required for serializing (clj-time/today). 2013-09-10 17:54:37 +02:00
Fernando Dobladez
0179bbc046 Fix: must return ids in creation order 2013-07-05 16:21:35 -03:00
Erik Bakstad
54f204b1a5 Renamed test 2013-06-24 00:25:58 +02:00
Erik Bakstad
a6606deb05 Made it possbile to pass explisit db to session-store 2013-06-24 00:17:48 +02:00
Erik Bakstad
0a03ec1bf8 Added rest of tests. Fixes #53 2013-06-22 20:20:59 +02:00
Erik Bakstad
41c2aa7488 Added multi.collection-tests 2013-06-20 19:56:26 +02:00
Erik Bakstad
fd5e041099 Fixed test issues when running all tests 2013-06-20 19:41:02 +02:00
Erik Bakstad
6a9cb9f1a3 Don't run fin_test on ns load 2013-06-20 19:11:52 +02:00
Erik Bakstad
0d635721a1 Added missing fns to multi/collection. Related to #53. 2013-06-20 13:25:27 +02:00
Tommi Reiman
4137f4a6f9 $setOnInsert 2013-06-20 00:01:28 +03:00
Michael Klishin
4ac8f8330a Initial work on monger.multi.collection 2013-04-19 00:43:27 +04:00
Michael Klishin
957623094b Clear cache collections in the correct db 2013-04-17 02:26:42 +04:00
Michael Klishin
0a386750c3 Clear cache collections 2013-04-17 02:22:57 +04:00
Michael Klishin
a39c13a574 Make monger.collection/upsert actually upsert
Headdesk
2013-04-17 02:01:22 +04:00
Michael Klishin
bdf0082372 Merge branch 'master' of github.com:michaelklishin/monger 2013-04-15 21:24:13 +04:00
Michael Klishin
c0a83e7241 Add monger.collection/upsert 2013-04-15 21:24:08 +04:00
Michael Klishin
bffb58cc1f Introduce additional cache implementation that can use any database 2013-04-14 01:53:56 +04:00
Michael Klishin
496325a417 Use clojure.core/array-map with ensure-index in all examples
To preserve ordering which is important.

References #50
2013-04-04 23:44:58 +04:00
Michael Klishin
9e99933c53 Make tests compile with the 2.11 Java driver 2013-03-20 04:08:24 +04:00
Michael Klishin
848bbd07d3 Full text search support via monger.search 2013-03-20 03:50:27 +04:00
Michael Klishin
2012fed7c4 Finally get rid of the factory DSL
We did learn some things from it but it just did not
work very well. A better solution is coming in the future.
2013-03-17 20:57:40 +04:00
Michael Klishin
3af05ef74c Add a test for m.c/insert-batch with lazy sequence inputs 2013-03-17 19:55:19 +04:00
Michael Klishin
082a3ec7b7 Make this test pass in isolation repeatedly 2013-03-17 19:50:37 +04:00
Michael Klishin
62013fd070 Introduce 2-arity monger.core/authenticate that authenticates on the default DB 2013-02-28 16:45:34 +04:00
Michael Klishin
d3114be395 Upgrade to MongoDB Java driver 2.10
A note on a few test we removed: they are not essential, the implementation still
works fine but MongoDB Java driver is so broken in some areas that it is really
painful to work around all that stuff.

For example, authentication commands fail because the request cannot be
authenticated (!!!). In general, all removed tests involve or related to
authentication failures or edge cases where the database is switched between
tests.

Because authentication with valid credentials works perfectly fine,
it is hard to justify spending another 2 hours working around
issues in the driver that had way too many poor design decisions
from very early days.
2012-11-27 23:25:24 +04:00
Michael Klishin
64bf2eff7f ws 2012-11-23 07:24:28 +04:00
Michael Klishin
28c29a7bae Remove temporary test metadata 2012-11-23 07:24:25 +04:00
Michael Klishin
d8ff844bfa Demonstrate correct ordering when sorting on multiple keys using ordered maps (array-map or sorted-map)
Closes #44
2012-11-23 07:23:36 +04:00
Michael Klishin
e4238710f3 Ditto for tests 2012-11-21 12:03:44 +04:00
Michael S. Klishin
c5e2c78ed0 The same fix for data.json compatibility we had in clojurewerkz.support.json 2012-11-09 02:19:48 +04:00
Michael S. Klishin
2818ac6c26 Introduce monger.core/disconnect!
Closes #42
2012-10-24 07:57:09 +04:00
Michael S. Klishin
76b3371420 Cosmetics 2012-09-14 11:46:48 +04:00
Michael S. Klishin
113ee02048 Don't use deprecated constant 2012-09-14 11:42:56 +04:00
Michael S. Klishin
33b8f54460 Cheshire support for monger.json and monger.joda-time 2012-09-07 00:48:18 +04:00
Michael S. Klishin
23a55420df Work arounds for CLJ-1062 2012-09-06 05:54:28 +04:00
Michael S. Klishin
0df0b706df Upgrade to MongoDB Java driver 2.9.0-RC1 2012-08-16 02:13:44 +04:00