Commit Graph

104 Commits

Author SHA1 Message Date
Jeremy Mikola
6aaa45d380 Fix BulkWrite::update() "multi" option usage in docs
Fixes #229
2016-02-22 15:39:41 -05:00
Jeremy Mikola
a782c9ac86 Remove Manager::executeInsert() usage in ODS docs
This method was removed prior to 1.0. Fixes #203
2016-02-02 13:47:16 -05:00
Hannes Magnusson
e4471af527 Its a bit creepy seeing my family in bug reports 2015-11-25 22:23:41 -08:00
Jeremy Mikola
e888db71f3 Update documentation for 1.0.0 2015-11-02 12:05:31 -05:00
Jeremy Mikola
a50517cb93 Update GitHub URLs for org change and repo rename 2015-10-23 10:18:22 -04:00
Jeremy Mikola
9c71b9cfc4 Update install examples to mongodb-beta 2015-10-06 02:03:49 -04:00
Jeremy Mikola
dcbf5ae6ba PHPC-428: Remove support for WriteConcern fsync option 2015-09-23 11:47:53 -04:00
Hannes Magnusson
c25493dde2 s/10gen-labs/mongodb-labs/g after org changes 2015-09-04 07:45:05 -07:00
Jeremy Mikola
66193e83bc PHPC-224: Consolidate Result and Cursor classes into one
This class is now simply Traversable (no longer IteratorAggregate) and adds isDead() and getId() methods from the original Cursor class.
2015-04-06 15:45:19 -04:00
Hannes Magnusson
266de5c3cf PHPC-207: Correct serialized data examples for ODS documentation 2015-04-03 16:42:37 -07:00
Sergey
bf3befb561 Docs small fix 2015-04-03 23:17:48 +03:00
Hannes Magnusson
ce7621038d Use pecl for installing 2015-03-25 16:12:15 -07:00
Hannes Magnusson
dab2d4f547 Update naming after PHPC-174 2015-03-23 16:45:53 -07:00
Hannes Magnusson
2735295110 Its a bulk 2015-03-11 11:15:20 -07:00
Hannes Magnusson
0ea4a52e99 post release bump 2015-03-11 11:05:56 -07:00
Hannes Magnusson
457b6452fa PHPC-165: Rename WriteBatch to BulkWrite 2015-02-20 15:05:29 -08:00
Hannes Magnusson
a9823e706f Ignore me. Trim trailing space
This has been annoying me for a long time, especially the '<?php '
2015-02-19 13:57:58 -08:00
Hannes Magnusson
481600d990 PHPC-157: Consolidate CommandResult and QueryResult classes 2015-02-18 11:09:36 -08:00
Hannes Magnusson
ab1998ff94 PHPC-157: Renamed getResponseDocument() to toArray() 2015-02-18 10:47:50 -08:00
Hannes Magnusson
22f13a822e prep for 0.1.4 release 2015-02-02 15:04:08 -08:00
Hannes Magnusson
b002a3f231 Quick note about var_dump()ing the cursor, rather then calling iterator_to_array() 2015-01-28 15:00:28 -08:00
Hannes Magnusson
62560b0340 PHPC-147: Document the ODS 2015-01-28 15:00:03 -08:00
Hannes Magnusson
fd8dbedbde PHPC-145: Typo in example, operators need to use single quotes 2015-01-28 11:21:07 -08:00
Hannes Magnusson
e97a1e2a5f PHPC-131: Add jira issue collector 2015-01-07 09:02:37 -08:00
Hannes Magnusson
bb5f45c313 PHPC-118: Use MongoDB\Driver namespace for phongo 2014-12-30 14:58:33 -08:00
Hannes Magnusson
a5c6a4c784 Bump release version in the docs 2014-12-22 13:25:47 -08:00
Hannes Magnusson
e95e348ae0 Update links after moving the repo to 10gen-labs from bjori 2014-12-12 11:48:05 -08:00
Hannes Magnusson
0e5cb5cfad Bump install instructions 2014-12-08 16:06:47 -08:00
Hannes Magnusson
54a2e194ce PHP-1322: More renaming 2014-12-08 14:43:09 -08:00
Hannes Magnusson
b5c3810070 PHP-1322 Rename count methods in WriteResults 2014-12-08 14:34:35 -08:00
Hannes Magnusson
c5bf72d994 Update toc and run syntax highlitghting automatically 2014-12-03 17:34:50 -08:00
Hannes Magnusson
4ebbff609b Add command docs 2014-12-03 17:34:32 -08:00
Hannes Magnusson
56aae06ba8 WS 2014-12-03 16:23:15 -08:00
Hannes Magnusson
a276e33394 Initial documentation
Using markdown and mkdocs ( $ pip install mkdocs )
2014-12-03 16:17:32 -08:00
Hannes Magnusson
5b69759da9 Move docs to old-docs making way for actual documentation 2014-12-03 15:47:58 -08:00
Hannes Magnusson
183286a2fc Add an example "document browser" 2014-11-26 12:47:44 -08:00
Jeremy Mikola
76d49f792b PHP-1189: BSON Regex type 2014-11-21 10:05:29 -08:00
Jeremy Mikola
773bc909cb PHP-1173: Use string "majority" for WriteConcern::MAJORITY
The purpose is two-fold: abstract libmongo'c constant (defined as -3) from our users and ensure the string "majority" is sets the struct's "w" field properly even if our constant is not used.
2014-10-03 16:02:53 -04:00
Jeremy Mikola
c6da714829 Remove unused class properties in WriteConcern 2014-10-03 13:30:39 -04:00
Jeremy Mikola
e6fc9b0624 PHP-1142: Support upserted ids in WriteResult
Renamed getGeneratedIdsForUpsert() to getUpsertedIds().
2014-09-29 11:37:46 -04:00
Jeremy Mikola
7358ac7f6c PHP-1142: Implement WriteResult getter for meta information
This getter is intended to return situational fields (e.g. lastOp, electionId), which are not currently supported by libmongoc (see: CDRIVER-428).
2014-09-25 16:02:45 -04:00
Jeremy Mikola
22b3622ab8 PHP-1142: Memory cleanup and getters for WriteResult error zvals 2014-09-25 15:57:49 -04:00
Jeremy Mikola
7a1c18dbc9 Fix tab indentation for generated C code 2014-09-25 15:57:49 -04:00
Jeremy Mikola
9aaa2de17b PHP-1230: Implement WriteException class 2014-09-25 15:57:48 -04:00
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
Jeremy Mikola
9e5b4167fe PHP-1171: Move WriteConcernError init function to php_phongo.c
The functions in each class file are not exported (since we don't have headers), and this ultimately needs to be called by the WriteResult initialization function. Therefore, it's best placed in php_phongo.c for now, as we did with WriteError's function.
2014-09-24 15:50:37 -04:00
Jeremy Mikola
b1b5568edd PHP-1172: Implement WriteError class
Removed getter for bulk operation corresponding to the index, since that would require reconstructing zvals from the libmongoc structs.
2014-09-24 15:48:32 -04:00
Jeremy Mikola
6d5c7cd0d4 Fix typo in constant name 2014-09-24 14:10:51 -04:00
Jeremy Mikola
d0d57d7313 Ensure libmongoc structs get freed in WriteBatch and WriteConcern 2014-09-23 13:17:22 -04:00
Jeremy Mikola
783c14d1c6 PHP-1171: Implement WriteConcernError class
Removed constructor and implemented populate method, which should operate on BSON documents within WriteResult's writeConcernError(s) field.
2014-09-17 15:55:18 -04:00