Commit graph

1312 commits

Author SHA1 Message Date
Evgeny Samsonov
27ed7bdfb7 Fix pullAll example 2016-11-02 18:14:31 +03:00
Evgeny Samsonov
517bb98129 substract -> subtract 2016-11-02 18:00:05 +03:00
Juha Jokimaki
b1cfb5490a Set GridFSInputFile closeStreamOnPersist flag 2016-10-31 08:52:14 +02:00
Michael Klishin
f499079bf7 Merge pull request #147 from jokimaki/operators
Add missing operators
2016-10-30 22:52:35 +03:00
Juha Jokimaki
0d7dc9357a Add $isolated operator 2016-10-30 18:15:51 +02:00
Juha Jokimaki
82c76dd66d Add $eq operator 2016-10-30 18:06:49 +02:00
Juha Jokimaki
2021c6d07f Fix $ne operator usage
The flaw was exposed when the test name was fixed.
2016-10-30 17:49:32 +02:00
Juha Jokimaki
3d4a38a10a Fix test name to match what is tested 2016-10-30 17:31:16 +02:00
Juha Jokimaki
8fd4946959 Add $where operator 2016-10-30 17:21:15 +02:00
Juha Jokimaki
08ce1e41b3 Add missing geospatial operators 2016-10-30 16:54:46 +02:00
Juha Jokimaki
a2bc59dcfa Test that every query operator is defined 2016-10-30 16:52:52 +02:00
Michael Klishin
d0fc0ed528 alpha13 is out 2016-10-10 00:17:01 +03:00
Fulvio Meden
57464ac592
fix: missing overload in :arglists, was causing eastwood to complain about correct calls 2016-10-04 14:24:19 +01:00
Michael Klishin
0f2a44179d
3.1.0 is out 2016-09-17 03:29:39 +03:00
Michael Klishin
7721c83ccf
Update change log 2016-09-17 03:29:21 +03:00
Michael Klishin
c374e7593b
Back to dev version 2016-09-17 03:28:45 +03:00
Michael Klishin
3e5f16d146
3.1.0 2016-09-17 03:27:10 +03:00
Michael Klishin
be95971e58
Bump MongoDB Java client to 3.3.0 2016-09-17 01:33:41 +03:00
Michael Klishin
2f19f62e3f Depend on Clojure 1.8, test against 1.9 previews 2016-08-20 09:35:09 +03:00
Michael Klishin
668e46d57f Merge pull request #141 from eunmin/add_currentDate_operator
Add currentDate operator
2016-08-19 08:41:29 +03:00
eunmin
df09c4085d Add operator 2016-08-19 14:19:50 +09:00
Michael Klishin
5033018119 Merge pull request #140 from eunmin/master
Add missing MongoClientOptions
2016-07-07 15:32:20 +03:00
eunmin
ccffffc912 Add missing MongoClientOptions 2016-07-07 21:17:59 +09:00
Michael Klishin
9be707ea06 Merge pull request #135 from kronos/master
Fix keywordize param for find-map-by-id
2016-04-27 11:06:36 -05:00
Samsonov Ivan
2b4c0f8168 Fix keywordize param for find-map-by-id 2016-04-26 19:03:44 +03:00
Michael Klishin
f64d085b0f Merge pull request #133 from divs1210/master
Fix reflection warnings.
2016-04-07 14:55:33 +03:00
Divyansh Prakash
5916642b2b Fix reflection warnings. 2016-04-07 16:52:02 +05:30
Michael Klishin
07b63150d1 Test against Clojure 1.8.0 2016-03-31 02:55:15 +03:00
Michael Klishin
e842068f3e Merge pull request #132 from tuhlmann/master
Fixing call to find-map-by-id, threw a ClassCastException
2016-03-27 19:34:50 +03:00
Torsten Uhlmann
9d51f32fa1 Fixing call to find-map-by-id, threw a ClassCastException
Fixes #131
2016-03-27 13:07:38 +02:00
Michael Klishin
765b9d1acf Update change log 2016-01-16 14:31:27 +03:00
Michael Klishin
c54f70350e Merge branch 'boechat107-typehint' 2016-01-16 14:28:52 +03:00
Michael Klishin
c7a87ac776 Merge branch 'typehint' of https://github.com/boechat107/monger into boechat107-typehint 2016-01-16 14:25:50 +03:00
Andre Ambrosio Boechat
bdecd98b40 with-collection macro: type hints improvement
From all the resources I found about type hinting in macros,
it doesn't work like it does for normal functions.

I got reflection warnings for a code like this:

```clj
(let [conn (mg/connect)
      db (delay (mg/get-db conn "monger-test"))]
  (with-collection @db "something"
    (find {})))
```

The type hint for `db` didn't work. Actually the type hint that works
comes from the function `core/get-db` and we see this when we remove
`delay` from the code above. As we could expect, the function `deref`
doesn't propagate the type hint.

I did similar tests with the collection name and no reflection warning
was raised for any case. In addition, it looked weird for me to have
a type hint like `^String` and then a checking like `string?` later.

Some references:

* http://stackoverflow.com/questions/11919602/generating-clojure-code-with-type-hints
* Clojure High Performance Programming, page 44.
2016-01-15 15:47:47 +01:00
Michael Klishin
189d347f50 Merge branch '3.0.x-stable' 2016-01-10 23:46:23 +03:00
Michael Klishin
114630f769 Back to dev version 2016-01-10 23:44:39 +03:00
Michael Klishin
6c25763748 3.0.2 2016-01-10 23:44:39 +03:00
Michael Klishin
fdb354b2db Update change log 2016-01-10 23:44:39 +03:00
Michael Klishin
45cb68115b Upgrade Java client to 3.2.0 2016-01-10 23:44:39 +03:00
Stijn Opheide
dd890231ee Fix cursor hinting
The .hint method should be applied on the cursor object instead
of the DBObject contained in the hint field.
2016-01-10 23:44:39 +03:00
Michael Klishin
1764b898bd Merge pull request #126 from stijnopheide/fix-cursor-hint
Fix cursor hinting
2016-01-06 14:33:38 +03:00
Stijn Opheide
b0df70f279 Fix cursor hinting
The .hint method should be applied on the cursor object instead
of the DBObject contained in the hint field.
2016-01-06 12:00:08 +01:00
Michael Klishin
85560e17f8 Update (c) year 2016-01-02 04:43:29 +03:00
Michael Klishin
57fb96a1b7 Upgrade to Codox 0.9.0 2015-12-20 02:11:15 +03:00
Michael Klishin
47d20761c5 Merge pull request #121 from Deraen/master
Add changelog entry for from-db-object perf improvement
2015-10-09 14:52:47 +03:00
Juho Teperi
50a8963ba2 Add changelog entry for from-db-object perf improvement 2015-10-09 12:56:43 +03:00
Michael Klishin
2856631638 Merge pull request #120 from Deraen/improve-from-db-object-perf
Improve from db object perf
2015-10-09 00:58:42 +03:00
Juho Teperi
1299e5e5ff Remove from-db-object implementation for Map
It should be enough that from-db-object is implemented for DBObject
2015-10-09 00:49:28 +03:00
Juho Teperi
cf3d8f2ad3 Fix test cases cases trying to compare db-objects and maps 2015-10-09 00:48:57 +03:00
Juho Teperi
15edf63ffd Fix test cases with bad = forms 2015-10-09 00:24:29 +03:00