27 Commits

Author SHA1 Message Date
Katherine Walker
bc5ce89caf PHPC-1109: Support batchSize getMore option for command cursors 2018-02-06 13:12:58 -05:00
Jeremy Mikola
d8d44f0acf PHPC-1050: Command cursor should not invoke getMore at execution 2018-01-08 10:26:45 -05:00
Jeremy Mikola
c94405a925 Use uint32_t for server_id args and struct fields
Since Manager methods no longer pass -1 to execute functions in php_phongo.c, server_id should always be unsigned.
2017-12-18 12:11:57 -05:00
Jeremy Mikola
d1d9d4a2bd PHPC-980: MongoDB\Driver\Session and "session" option
This introduces a Session class, which wraps libmongoc's client session object. Additionally, we support a "session" option on Manager and Server execute methods to allow operations to be associated with an explicit session (mostly relevant for causal consistency).
2017-12-15 16:25:56 -05:00
Derick Rethans
d3953f62a2 PHPC-1027: Introduce classes for deprecated BSON types (DBPointer) 2017-12-14 10:49:18 +00:00
Derick Rethans
a9f6e3bb09 PHPC-1027: Introduce classes for deprecated BSON types (Symbol) 2017-12-14 10:49:18 +00:00
Derick Rethans
c780a27926 PHPC-1027: Introduce classes for deprecated BSON types (Undefined) 2017-12-13 16:09:49 +00:00
Derick Rethans
4c338082cb PHPC-1029: Support maxTimeMS getMore option for tailable command cursors 2017-11-23 12:44:22 +00:00
Jeremy Mikola
ad1f3f049f PHPC-939: Don't modify std props in BSON get_properties handlers 2017-07-10 14:31:19 -04:00
Jeremy Mikola
d8541658ad PHPC-839: Support maxAwaitTimeMS Query option for tailable await cursors 2017-05-24 20:29:11 -04:00
Jeremy Mikola
63f509ade8 PHPC-951: CursorId is a signed 64-bit integer 2017-04-14 16:26:54 -04:00
Jeremy Mikola
0883a5d884 Use uint32_t for server_id in APM structs 2017-03-31 13:44:46 +01:00
Jeremy Mikola
83fed0b6d9 Alphabetize lists of Monitoring classes 2017-03-31 13:44:46 +01:00
Derick Rethans
77a68728e2 PHPC-349: Implement APM specification 2017-03-31 13:44:46 +01:00
Jeremy Mikola
ff7a211cc0 PHPC-932: Remove reference to Manager on Cursor, Server, and WriteResult
This reverts changes introduced in PHPC-671, which are no longer necessary due to mongoc_client_t persistence (PHPC-433).
2017-03-10 09:50:37 -05:00
Jeremy Mikola
2efc183b38 PHPC-890: Add license header copypasta 2017-01-06 15:41:58 -05:00
Jeremy Mikola
f37f589bbc PHPC-783: Use mongoc_collection_find_with_opts() for Query exec
Query struct fields have been consolidated to a filter and opts BSON documents.

This also changes the Query debug output significantly.
2016-09-20 16:57:20 -04:00
Jeremy Mikola
ad0ae247f8 PHPC-605: Remove pem_file from php_phongo_manager_t
This should have been removed in f7e2b09165.
2016-09-07 18:08:19 -04:00
Derick Rethans
24b65ca159 PHPC-619: Implement Decimal128 type (again) 2016-08-31 17:13:17 +01:00
Jeremy Mikola
f7e2b09165 PHPC-605: Rely on libmongoc for socket IO and TLS 2016-08-30 14:04:56 -04:00
Jeremy Mikola
ff79f64177 PHPC-758: Disable Decimal128 for bundled libbson and libmongoc 1.4.0 2016-07-29 18:11:41 -04:00
Jeremy Mikola
b3298a0efe PHPC-739: Rename "javascript" to "code" in Javascript BSON class
This changes behavior of var_dump(), var_export(), and serialization.

Additionally, this renames the internal struct fields to be consistent with the publicized property names.
2016-07-13 10:32:45 -04:00
Jeremy Mikola
10e1879357 PHPC-460: UTCDateTime serialization and var_export 2016-07-12 16:30:43 -04:00
Jeremy Mikola
0a32ce98fb PHPC-460: Timestamp serialization and var_export 2016-07-12 16:30:43 -04:00
Jeremy Mikola
4be966906a PHPC-460: Decimal128 serialization and var_export 2016-07-12 16:30:42 -04:00
Jeremy Mikola
9b290494a2 PHPC-460: ObjectID serialization and var_export 2016-07-12 16:30:42 -04:00
Jeremy Mikola
85309157b7 Consolidate PHP 5 and 7 struct definitions into one file 2016-07-11 12:25:16 -04:00