Commit graph

304 commits

Author SHA1 Message Date
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