Commit graph

286 commits

Author SHA1 Message Date
Oleksandr Petrov
2f82ac2bb6 Adding purge-collection function, refactoring purge-*-collection methods. 2011-09-11 12:48:42 +02:00
Michael S. Klishin
c1d45cf543 Of course we will be using travis-ci.org 2011-09-11 14:40:15 +04:00
Michael S. Klishin
8f2e7a2411 Update README in preparation to moving to a public repo 2011-09-11 14:28:38 +04:00
Michael S. Klishin
af45ad74fb Update license information
I am considering doing first public release soon and for now, it is better
to keep it unaffiliated with any particular company
2011-09-11 11:32:46 +04:00
Michael S. Klishin
1ea892328f Use "new style" type hints 2011-09-11 11:11:02 +04:00
Michael S. Klishin
a63fc0fadd Add license header 2011-09-11 11:10:42 +04:00
Michael S. Klishin
63d8e0848f Blow the dust off monger.core 2011-09-10 20:41:23 +04:00
Michael S. Klishin
4db676657e Minor README update 2011-09-10 20:28:13 +04:00
Michael S. Klishin
285f4c66ea Bump version to 0.5.0-SNAPSHOT 2011-09-10 08:48:26 +04:00
Michael S. Klishin
fadf939cd5 Implement monger.collection/rename 2011-09-10 08:46:17 +04:00
Michael S. Klishin
e681bf1a1c Implement monger.core/command 2011-09-10 08:46:10 +04:00
Michael S. Klishin
1f091ab735 Implement monger.collection/create 2011-09-10 08:19:19 +04:00
Michael S. Klishin
24b2dbe516 Implement monger.collection/exists? and monger.collection/drop 2011-09-10 08:09:32 +04:00
Michael S. Klishin
1f9b611003 update-multi is not really worth having, monger.collection/date with the :multi option is good enough 2011-09-10 07:46:41 +04:00
Michael S. Klishin
b90834fdc5 Implement index operations 2011-09-10 07:45:47 +04:00
Michael S. Klishin
2ab84f2593 Reformat 2011-09-09 06:59:34 +04:00
Michael S. Klishin
60e93b4275 Eliminate a reflection warning 2011-09-09 06:58:57 +04:00
Michael S. Klishin
1a9e0715cd Don't refer to clojure.core functions monger.collection and monger.core replace 2011-09-09 06:57:01 +04:00
Michael S. Klishin
668373c894 tools.cli should be a development dependency, it is not needed at runtime 2011-09-09 00:37:53 +04:00
Oleksandr Petrov
b91214cf37 Starting adding samples. 2011-09-08 22:27:49 +02:00
Michael S. Klishin
4124b033f6 Cosmetics 2011-09-04 04:55:06 +04:00
Michael S. Klishin
c29748e46c Add monger.json that extends clojure.data.json.Write-JSON protocol to handle org.bson.types.ObjectId 2011-09-04 00:49:47 +04:00
Michael S. Klishin
4700213bd5 Introduce monger.collection/find-maps 2011-09-03 18:31:26 +04:00
Michael S. Klishin
1609f0fab2 Upgrade to Clojure 1.3.0-beta3 2011-09-03 17:54:11 +04:00
Michael S. Klishin
d4603c2be6 Reduce amount of duplication in tests 2011-09-03 01:09:54 +04:00
Michael S. Klishin
a670b31462 Introduce monger.collection/find-map-by-id 2011-09-03 01:02:46 +04:00
Michael S. Klishin
6d17366bdd Nuke some reflection warnings 2011-09-02 04:08:39 +04:00
Michael S. Klishin
7e29ff457d Introduce monger.collection/find-one-as-map 2011-09-02 04:08:31 +04:00
Michael S. Klishin
f8845111f2 Make monger.collection/find-one return a DBObject, not a cursor 2011-09-02 03:28:40 +04:00
Michael S. Klishin
adfa422a51 Add a test that harnesses monger.collection/save with new DBObjects (useful for obtaining of the generated _id) 2011-09-02 03:19:35 +04:00
Michael S. Klishin
be1355b5b9 Add specialized identity convertion of DBObjects, makes it very easy to insert an object and immediately fetch its _id from it 2011-09-02 03:10:18 +04:00
Michael S. Klishin
e5e04f8d51 Add test for monger.result/updated-existing? with WriteResult 2011-09-02 01:46:02 +04:00
Michael S. Klishin
c688bfa45b Formatting 2011-09-02 01:38:49 +04:00
Michael S. Klishin
2ff340ab08 Implement monger.result.MongoCommandResult/updated-existing? 2011-09-01 22:29:46 +04:00
Michael S. Klishin
8fdfe32ccb monger.errors => monger.result, extend MongoCommandResult protocol with has-error? 2011-09-01 22:16:29 +04:00
Michael S. Klishin
7f2e3bc46e Bump mongo driver dependency 2011-09-01 17:14:34 +04:00
Michael S. Klishin
21119e80db Add utility function that generates BSON object ids 2011-08-31 16:49:35 +04:00
Michael S. Klishin
e5d5b0b248 Add test for upserting a document using monger.collection/update 2011-08-31 16:48:57 +04:00
Michael S. Klishin
837ab83317 Two more cases for insert-batch 2011-08-29 20:54:36 +04:00
Michael S. Klishin
5473ff10ba Refactor to use monger.collection/insert-batch here 2011-08-29 20:53:30 +04:00
Michael S. Klishin
436cc4a00f Use at least one document with date in the test suite 2011-08-29 20:51:11 +04:00
Michael S. Klishin
1ee5436841 Initial implementation of monger.collection/find-one 2011-08-29 19:36:11 +04:00
Michael S. Klishin
b8c545257f Warn on reflection 2011-08-29 14:02:27 +04:00
Michael S. Klishin
e9adae10c6 Eliminate some reflection warnings in tests 2011-08-29 14:02:15 +04:00
Michael S. Klishin
1fd3cc719f Correct invalid type hints 2011-08-28 22:37:35 +04:00
Michael S. Klishin
58d4a1eff4 Eliminate some reflection warnings 2011-08-27 23:41:21 +04:00
Michael S. Klishin
c9eeb48dea Clojure 1.3.0-beta2 is out 2011-08-27 14:06:31 +04:00
Michael S. Klishin
4fa47aeed4 Now working on 0.2.0-SNAPSHOT 2011-08-16 16:56:35 +04:00
Michael S. Klishin
f822e2411f 0.1.0 2011-08-16 16:55:56 +04:00
Michael S. Klishin
7361497f18 Add license information to project.clj 2011-08-16 16:55:36 +04:00