Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/doctrine/mongodb
PHP MongoDB Abstraction Layer
https://github.com/doctrine/mongodb
7fe54b70e4fd63dc39f2b43bbb272be4adb6c01f authored almost 11 years ago by Jeremy Mikola <[email protected]>
Allow string or array Cursor::hint() argument
e008cb57444c40908b90b2a5bdfb6235c2dbd635 authored almost 11 years ago by Jeremy Mikola <[email protected]>fd306ce8980643bc8102f238c1b5864184e9bb02 authored almost 11 years ago by Gnucki <[email protected]>
Conflicts:
lib/Doctrine/MongoDB/Cursor.php
lib/Doctrine/MongoDB/LoggableCursor.php
7a81ba9428d08c82016b48bdcf4cd0888a26a3f0 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Revert "Allow string or array Cursor::hint() argument"
1a38007ab1a516a7f9123c118822b79d8d876272 authored almost 11 years ago by Jeremy Mikola <[email protected]>This reverts commit acf548cb4e7e4a6d04587513356dbefc5c9cd6b9.
91429c0923b068848a9369019a66b79eced58545 authored almost 11 years ago by Jeremy Mikola <[email protected]>7b070b43652296b680f3f5f237b39d0aaa13edb1 authored almost 11 years ago by Jeremy Mikola <[email protected]>
88af7bfc7e6d510aae0d49a0fbc7c69782049f68 authored almost 11 years ago by Jeremy Mikola <[email protected]>
3bddf5797cd6878c83d55b2767fbc077b04ae0a0 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Conflicts:
lib/Doctrine/MongoDB/Cursor.php
lib/Doctrine/MongoDB/EagerCursor.php
lib/Doctrine/...
9031c29644700c07cf01d182ca10eff4e9b4ea2c authored almost 11 years ago by Jeremy Mikola <[email protected]>
822b5794c3e5fba5226cdad31f668786ec0a61a7 authored almost 11 years ago by Jeremy Mikola <[email protected]>
42fca1008beb24478e9cbdd94ef4d22846784bf8 authored almost 11 years ago by Jeremy Mikola <[email protected]>
acf548cb4e7e4a6d04587513356dbefc5c9cd6b9 authored almost 11 years ago by Gnucki <[email protected]>
Fix EagerCursor::getSingleResult() behavior
3dfe206bfa5afa6f4e401956b59d38e08f0caa78 authored almost 11 years ago by Jeremy Mikola <[email protected]>Functional test for Query preparing an EagerCursor is moved to QueryTest. EagerCursorTest is now...
0253ded22fd5699f6e6303ebb2a3ba2ba18e025a authored almost 11 years ago by Jeremy Mikola <[email protected]>5b85fafbc916fdc50a0ca7ddffa83b0a530054bb authored almost 11 years ago by Jeremy Mikola <[email protected]>
204b3261e5313db07652911e02d2fb37000a7b87 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Fix createCollection event dispatching
d811f2f16c31f5cc64445cdd69c6e367cd8f36bd authored almost 11 years ago by Jeremy Mikola <[email protected]>4f06d4c6fb48b1d5cd2b97ec8a3a39f6451c3b77 authored almost 11 years ago by Mikhail Shamin <[email protected]>
ac63fdf9847a5ec6d44721526623e8bddaa25fe6 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Conflicts:
lib/Doctrine/MongoDB/Cursor.php
1078503082d0ae974e6aa0ee5b4d78cedb8f7ae8 authored almost 11 years ago by Jeremy Mikola <[email protected]>
cb0253987458dfb2fd3950c28163a4a5eabdaec2 authored almost 11 years ago by Jeremy Mikola <[email protected]>
This allows a document with a non-scalar identifier to be returned.
4a8822be85f6762bc58074e1526376bdfe87096f authored almost 11 years ago by Jonathan H. Wage <[email protected]>8e70387c44195dba5ea12202b1a447b1e34dc7da authored about 11 years ago by Jeremy Mikola <[email protected]>
74d1a0279ee5d23534d93f8519c57076d45ebf08 authored about 11 years ago by Jeremy Mikola <[email protected]>
20ca7294a7f10cd4c2eccec5ed7ad912588ed0ad authored about 11 years ago by Jeremy Mikola <[email protected]>
1e3f6144adf5c1e1f7c0cf8fa6bdb44bb2e6dcf4 authored about 11 years ago by Jeremy Mikola <[email protected]>
0c303c572b736b5621b2660295501e49e72786d6 authored about 11 years ago by Jeremy Mikola <[email protected]>
Use integer-casted argument in Cursor::batchSize()
4476ae33250eb7d0641824458a03872c54f1d780 authored about 11 years ago by Jeremy Mikola <[email protected]>5a155c8701c530e5898ae2e2524f52568ff7b26c authored about 11 years ago by Jeremy Mikola <[email protected]>
Reset cursor before and after getSingleResult()
cf73ea2a749df48133f3afeec57afca9fb0f34c5 authored about 11 years ago by Jeremy Mikola <[email protected]>4783296afa07bc626941180b2569e6213876153d authored about 11 years ago by Jeremy Mikola <[email protected]>
0d90296cf98c043b331209a609cb165fb038802e authored about 11 years ago by Jeremy Mikola <[email protected]>
Expr::mod() should take explicit divisor/remainder args
1a5401a1bf7eed836940cb77708c0a86706f6ce1 authored about 11 years ago by Jeremy Mikola <[email protected]>300527510a057d77ec6192f304f8c2976dadf163 authored about 11 years ago by Jeremy Mikola <[email protected]>
c5d60b8e4c3cc9a4dbdb451034aa8e8ea84c1db8 authored about 11 years ago by Jeremy Mikola <[email protected]>
72f48798ed00a95e9a6f245236977fff49373a24 authored about 11 years ago by Jeremy Mikola <[email protected]>
58f80c00be3593aefa16c0a83357a9a8573873ae authored about 11 years ago by Jeremy Mikola <[email protected]>
2d349c4f711e72b5fb022be824c1857fbe754dc7 authored about 11 years ago by Jeremy Mikola <[email protected]>
See: https://github.com/doctrine/mongodb/commit/9d0dde013a80aecf604c27eae701fc710aa6a921 and htt...
25a8025829b1fcbdd83d8d743e7166f4560d2640 authored about 11 years ago by Jeremy Mikola <[email protected]>Query builder read prefs and wrap driver classes directly
565477703885c9511da869ecbcc7796eee76e775 authored about 11 years ago by Jeremy Mikola <[email protected]>Constructor signatures have changed. Collections and Databases are now constructed with the Mong...
39a2b7c7567b4609a58f3ea3f408d872fdbb7440 authored about 11 years ago by Jeremy Mikola <[email protected]>The driver may emit an E_WARNING for invalid arguments, but the return value should always be th...
06fd9e9b99ef3d390e6a9752c9cdfb88b2bae08d authored about 11 years ago by Jeremy Mikola <[email protected]>7b1da4ca56116a26bca9388c2c803c82e5952304 authored about 11 years ago by Jeremy Mikola <[email protected]>
Read preferences will be applied during cursor preparation. For read-only commands, the read pre...
81e8e16eab4e8ef840fcc02a28364c3b77cec901 authored about 11 years ago by Jeremy Mikola <[email protected]>MongoCursor::setReadPreference() is not affected, since its method wasn't implemented until 1.3.3.
a06d259500354930abecd6ba7010c917d693fc9d authored about 11 years ago by Jeremy Mikola <[email protected]>80c48fa915ccfb15f8b7215976cc05222e7d2b14 authored about 11 years ago by Jeremy Mikola <[email protected]>
2ef3fe9a61e0b37e2ff7fb34b7b01f14c6d4efaf authored about 11 years ago by Jeremy Mikola <[email protected]>
Conflicts:
lib/Doctrine/MongoDB/Collection.php
lib/Doctrine/MongoDB/GridFS.php
tests/Doctrine...
Convert "safe" write option to "w" for drivers 1.3.0+
401796e7a5ec3cea099d993fd0034235b917f1a8 authored about 11 years ago by Jeremy Mikola <[email protected]>Closes #144
fabcf492de51f4d34c251370e827e237fa1a773c authored about 11 years ago by Jeremy Mikola <[email protected]>This will help avoid deprecation notices in drivers 1.5.0+ (for code still using "safe").
c7b6ef9ad7140a9f29a7b964bbfa9ed16e00ffd1 authored about 11 years ago by Jeremy Mikola <[email protected]>ecbb32a868e8be9125982653b60f4f4ddf76d0d1 authored about 11 years ago by Jeremy Mikola <[email protected]>
cursor.sort() expects a value of 1 for ascending or -1 for descending. Calling Builder::sort($fi...
a8f37ebd32862fb11f0e0fb2485517017446498b authored about 11 years ago by gerryvdm <[email protected]>fc2da5001d955e4ea57e57860a21d982845b025e authored about 11 years ago by Jeremy Mikola <[email protected]>
c6014cc255b408b3bd3cbca8bdc32ffe3d050605 authored about 11 years ago by Thomas Adam <[email protected]>
Conflicts:
lib/Doctrine/MongoDB/Connection.php
Check for MongoClient and Mongo classes in Connection getters
a263d678744d80edfbae34f862a4c93b0e28b55b authored over 11 years ago by Jeremy Mikola <[email protected]>Recent versions of the driver no longer use the $status property, so this method should likely b...
89c7f44defc26ccbea4b7a396c8a6dd888397e26 authored over 11 years ago by Jeremy Mikola <[email protected]>9b713376ceadd448695605b16f1bb06e49ecd7d9 authored over 11 years ago by Valeriy Rabievsky <[email protected]>
a6628d7c483b11152c22abc34fc8091a07f8b8c2 authored over 11 years ago by Jeremy Mikola <[email protected]>
This ensures that metadata is still accessible for command results, instead of limiting the retu...
31c4b2846c757e10098e0b894b42dcc202ba1d78 authored over 11 years ago by Jeremy Mikola <[email protected]>01c4a77f3adca2e8a70806b9584d69d0b99d454a authored over 11 years ago by Tóth Gábor <[email protected]>
d3502fc26cedb9243efe4512f126861c4acaded3 authored over 11 years ago by Jeremy Mikola <[email protected]>
Even if the "mongo.cmd" INI option is customized, the orignal "$" character may still be used. T...
cd3b60138d711221e4fe0ae1c06611fd8fedbac2 authored over 11 years ago by Jeremy Mikola <[email protected]>97b70b4e0d234981ca5d67597943869247370573 authored over 11 years ago by Jeremy Mikola <[email protected]>
d13aab0a3cef447aa4df3def28efad3965330540 authored over 11 years ago by Jeremy Mikola <[email protected]>
b92692659abf5a98aeb83fcb32a9038420542e3e authored over 11 years ago by Jeremy Mikola <[email protected]>
Changed to avoid calling execute() and throw BadMethodCallException immediately if the query typ...
b5f3e0cd35663f3b5903042ed477497bc89826e3 authored over 11 years ago by Jeremy Mikola <[email protected]>This can be removed in 2.0. It's currently a bit clumsy as the names for some of these types are...
7f675058b498cb7def2b59bb22c3f9669c6c99c6 authored over 11 years ago by Jeremy Mikola <[email protected]>9e117fea6cd6a6d01078b4c36760440618c51e8f authored over 11 years ago by Jeremy Mikola <[email protected]>
7cc7c5e35566c9d0ed74c18d1149632224046958 authored over 11 years ago by Jeremy Mikola <[email protected]>
ee0f3c3f441a48547066ee7b6487ebbea6286990 authored over 11 years ago by Jeremy Mikola <[email protected]>
Builder now initializes a much smaller array, which only contains the default type. The array st...
f19c70bbd5359c0aba2f320c800a6c24627aeb78 authored over 11 years ago by Jeremy Mikola <[email protected]>Builder::hint() is only useful for setting a cursor hint (not related to ODM's UnitOfWork hints)...
7735482735cb2f900443b8ca009b6c4262689a3b authored over 11 years ago by Jeremy Mikola <[email protected]>This is consistent with what is already done for geoNear commands.
a040ddf84f0b99d8470bfdfeba5e295317d148dc authored over 11 years ago by Jeremy Mikola <[email protected]>93d9a990824f44f1a30cc8cb48334ab1a01919bd authored over 11 years ago by Jeremy Mikola <[email protected]>
Also renamed the option, which is set in the query array.
fe4b3ca2898a7faf7525c777c5fa07d5fcef34b1 authored over 11 years ago by Jeremy Mikola <[email protected]>66e03550ea15c2a39f69c635d58db460416f0e3e authored over 11 years ago by Jeremy Mikola <[email protected]>
These are not accessed in Query unless the query type is appropriate, and the initializer method...
e6dfbc36171861d58b08c5d2c35144f7c02f14f8 authored over 11 years ago by Jeremy Mikola <[email protected]>a7ba5c2dfb7b5125f8c61e91c592218b88f2f685 authored over 11 years ago by Jeremy Mikola <[email protected]>
This makes map() as functional as mapReduce(), apart from setting the "reduce" option.
16a92eb1626da1b424908e757ac2cfbe39cc02bb authored over 11 years ago by Jeremy Mikola <[email protected]>5a31a2be9deeee224a008f52b1ecbe22ff517ad3 authored over 11 years ago by Jeremy Mikola <[email protected]>
geoNear commands against 2dsphere indexes require the "spherical" option to be true, so we can i...
08ade88a31784a1484d810e1e12776a84fe86d54 authored over 11 years ago by Jeremy Mikola <[email protected]>de44c4258516a2f3cd3770cdbfaeb133ba0fbde3 authored over 11 years ago by Jeremy Mikola <[email protected]>
a512d7f55a3e1e1a28d147ca364b26898ffb3ce9 authored over 11 years ago by Jeremy Mikola <[email protected]>
4ee53d6f5c5a84a15ad7cbece0a56b0bea2d88aa authored over 11 years ago by Jeremy Mikola <[email protected]>
This changes the public API for in/notIn and removes the array cast in notIn (behavior change); ...
8207985d3532b08c50c3102bd66dec23543e2710 authored over 11 years ago by Jeremy Mikola <[email protected]>MongoDB 2.4 deprecates the $pushAll operator in favor of $push with $each. Additionally, it adds...
0d88e84ff86897549d3b9735907d0eed70cc9b8e authored over 11 years ago by Jeremy Mikola <[email protected]>If the $each operator does not appear first, the $push argument will be considered a single valu...
ac04fff4344bd3151488db1eff171c11bdc8cf7b authored over 11 years ago by Jeremy Mikola <[email protected]>The recursive merging in addManyToSet() dates back to: doctrine/mongodb-odm@59a2da0bf7a53075f9d9...
f32e433318f41b4cfc927667ef5e25e2bd2481c1 authored over 11 years ago by Jeremy Mikola <[email protected]>c159d274f1da9ea792130d4ee2cd61e7b07feccd authored over 11 years ago by Jeremy Mikola <[email protected]>
5999f1505a0053b9c890e1eb8c6e87554e8d3e36 authored over 11 years ago by Jeremy Mikola <[email protected]>
975b2470dfc43607626f99673e3e4be6c60cea6d authored over 11 years ago by Jeremy Mikola <[email protected]>
Note: $pullAll only supports an array of values (no expressions), so it remains as-is.
16857904b2a04b898aebf578197beed28feeb5ec authored over 11 years ago by Jeremy Mikola <[email protected]>This will require changes to ODM, as several of its tests expect this to access only $query['que...
1ea8ddc066307f30b0a73cf49d19612285547081 authored over 11 years ago by Jeremy Mikola <[email protected]>0d10218824847f5300790962233dacab9c5e8db4 authored over 11 years ago by Jeremy Mikola <[email protected]>