Commit Graph

5 Commits

Author SHA1 Message Date
Jeremy Mikola
12cc8616dc PHP-1142: Init WriteError and WriteConcernError arrays for WriteResult
When initializing a WriteResult, we should initialize the corresponding WriteError and WriteConcernError classes, too. This moves all of the initialization code into php_phongoc, as was done with the error classes.

Additionally, phongo_execute_write() has been changed to not construct a bson_t reply unnecessarily (i.e. return value will not be used).
2014-09-25 15:57:48 -04:00
Hannes Magnusson
d447f09294 s/executeWrite/executeWriteBatch/g as the class is called WriteBatch 2014-07-30 01:54:49 +00:00
Jeremy Mikola
a438cf5c6a Only use GeneratedId for upserts, not inserts
Identifiers generated for inserts will be returned from WriteBatch::insert()
2014-07-18 16:46:44 -04:00
Hannes Magnusson
c9155e397b Add the actual implementation into the PHP API docs
This is used to generate the actual c classes.
- The CIMPL (Simple) section is the C Implementation
- The CEF (Chef) section is the C Definition
2014-07-16 17:59:26 +00:00
Jeremy Mikola
226a32985a PHP-1136: Allow custom cursor classes from command/query results
This commit also restructures the namespaces and some write method APIs.
2014-07-11 15:06:00 -04:00