Commit Graph

54 Commits

Author SHA1 Message Date
Hannes Magnusson
da3754432f PHP-1175: Add Support for SSL=true and SSL=prefer 2014-12-02 14:29:41 -08:00
Hannes Magnusson
6283fe2a96 Improve API consistency between WriteConcern and ReadPreference
Also fixes a segfault when no WriteConcern is provided
2014-12-01 13:55:49 -08:00
Hannes Magnusson
a0f2e15126 PHP-1296: Implement WriteConcerns 2014-11-26 14:04:30 -08:00
Hannes Magnusson
e691955755 Bump version 2014-11-26 12:23:51 -08:00
Hannes Magnusson
7bf571681f Fix version number 2014-11-25 15:12:24 -08:00
Hannes Magnusson
27ae67c5e2 Fixed various memory leaks and compiler warnings 2014-11-21 17:30:58 -08:00
Hannes Magnusson
23bb9a63ff PHP-1189: Implement BSON regex type 2014-11-21 10:53:10 -08:00
Hannes Magnusson
75ee2248e4 Fixed couple of constify, and renamed a functino to be consistent with'em all 2014-11-21 10:52:10 -08:00
Hannes Magnusson
f5b5d6ddef PHP-1187: Implement BSON binary type 2014-11-21 09:51:27 -08:00
Hannes Magnusson
55e6be8f55 Fix some compiler warnings: (de-)constify 2014-11-21 09:46:41 -08:00
Hannes Magnusson
dfbef380a5 PHP-1188: Implement BSON code and code with scope types
NOTE: This type is not supported by Extended JSON :(
2014-11-20 17:33:10 -08:00
Hannes Magnusson
56435950b3 Fixed zts macros 2014-11-20 17:08:55 -08:00
Hannes Magnusson
4a8b86c1a2 PHP-1191: Implement BSON timestamp type 2014-11-20 15:47:43 -08:00
Hannes Magnusson
c439fbcc67 PHP-1190: Implement BSON\UTCDateTime 2014-11-19 17:07:13 -08:00
Hannes Magnusson
7636ed4e76 PHP-1185: Add more Cursor related methods 2014-11-19 17:05:10 -08:00
Hannes Magnusson
5dc733469b PHP-1183: Implement default Iterator class for QueryResult & CommandResult 2014-11-19 12:55:38 -08:00
Jeremy Mikola
33e2451cda Throw WriteException on failed write ops
If available, the WriteResult should be set on the exception
2014-09-25 15:57:49 -04:00
Jeremy Mikola
b4b858abe9 Return exceptions after throwing in case we need to modify them 2014-09-25 15:57:48 -04:00
Jeremy Mikola
6d5c7cd0d4 Fix typo in constant name 2014-09-24 14:10:51 -04:00
Jeremy Mikola
30a9a80492 Change Query constructor args based on CRUD API spec
Query document is the only required field. All other fields are optional. To avoid complicating the constructor, we'll handle the option merging in the init function.
2014-08-25 13:55:59 -04:00
Hannes Magnusson
1a32de27b8 fix zts 2014-07-19 03:25:44 +00:00
Hannes Magnusson
e619946d8c Returned generate _id when adding objects to batches 2014-07-19 02:58:53 +00:00
Hannes Magnusson
51e7e5a5d4 CS 2014-07-16 17:59:25 +00:00
Hannes Magnusson
cef145fb12 No need for this hack anymore 2014-07-16 17:59:25 +00:00
Hannes Magnusson
24cd7bc571 Get tests to pass 2014-07-16 17:59:25 +00:00
Hannes Magnusson
0edb271298 whopsy 2014-07-16 17:59:25 +00:00
Hannes Magnusson
80f4dce808 Regenerated 2014-07-16 17:59:24 +00:00
Hannes Magnusson
a98ea3f9af Add support for delete options 2014-07-16 17:59:23 +00:00
Hannes Magnusson
955ebfbc6e Initial Server implementation (as read-only object..)
Need to hack a bit on libmongoc to get this working, see the libmongoc.patch
2014-07-11 07:38:49 +00:00
Hannes Magnusson
e04e5a6834 Fix zts 2014-07-11 07:31:22 +00:00
Hannes Magnusson
f0f4fb5542 Remove batch hacks & added single_[insert|update|delete] 2014-07-11 07:31:22 +00:00
Hannes Magnusson
4590a66c59 Touch up WriteResult as return value 2014-07-11 07:31:22 +00:00
Hannes Magnusson
d6e4bd35ea Fixed PHP-1138: Use Zend MM for libbson 2014-07-11 07:31:22 +00:00
Hannes Magnusson
1f8bd7ab78 Return correct Result class 2014-07-11 07:31:21 +00:00
Hannes Magnusson
9ebb52a13f Remove no-longer valid classes
- Remove unused Result classes (merged into WriteResult)
- Remove WriteBatch interface (replaced with Batch)
2014-07-11 07:31:21 +00:00
Hannes Magnusson
c8877149ee Add ReadPreferences and full Query support 2014-07-11 07:31:21 +00:00
Hannes Magnusson
b06455cc40 Return MongoDB\Result when executing commands too 2014-07-08 01:05:14 +00:00
Hannes Magnusson
7f1ea083ce Dead code 2014-07-03 19:02:03 +00:00
Hannes Magnusson
14b7aa9faf Imlement batch execution 2014-07-03 19:00:27 +00:00
Hannes Magnusson
b2f621b666 Simplify Batch interface 2014-07-03 09:30:34 -07:00
Hannes Magnusson
bbb3c9ab0a Some zts fixes 2014-07-02 22:01:07 +00:00
Hannes Magnusson
64aa398d08 Fix building as a static extension 2014-07-02 22:00:14 +00:00
Hannes Magnusson
8710d74ccb Better logging 2014-07-02 20:48:47 +00:00
Hannes Magnusson
7918990057 Return a result object and implement an iterator for it 2014-07-01 20:45:24 +00:00
Hannes Magnusson
af249532a2 wip query 2014-06-30 20:13:48 +00:00
Hannes Magnusson
a25067f7ff wip 2014-06-30 20:13:48 +00:00
Hannes Magnusson
ac80d67b9d Added logging to files and command executing 2014-06-26 13:16:03 -07:00
Hannes Magnusson
af478fff82 Create a mongoc_client from URI 2014-06-24 14:39:41 -07:00
Hannes Magnusson
afaad2f672 phongo api... 2014-06-24 14:37:14 -07:00
Hannes Magnusson
abbd2989e9 Register default object handlers 2014-06-24 14:36:47 -07:00