Jeremy Mikola
c7b7891697
PHPC-240: Rely on libmongoc for command cursor iteration
...
libmongoc already provides a mechanism to upgrade a cursor with a single command result document into a command cursor, which will seamlessly iterate through the first batch and documents returned by successive getmore ops.
This allows us to remove our own "first batch" handling and simplify the move_forward and rewind iteration handlers.
2015-04-21 14:23:16 -04: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
227e7842cb
Use absolute paths in skipifs too
2015-03-25 14:08:39 -07:00
Hannes Magnusson
1cce49d21c
Use absolute paths on in tests so they can run easier on windows
2015-03-25 13:32:09 -07:00
Hannes Magnusson
5f8d990b53
PHPC-24 PHPC-77 PHPC-69 Provide a functioning Server object
2015-03-20 11:33:46 -07:00
Hannes Magnusson
3efb11c140
PHPC-180: Rename constant and pass the cleanup uri explicitly
...
- Use the new connection string constant that includes auth
- Call the cleanup routines explicitly when needed
2015-03-16 20:30:15 -07:00
Hannes Magnusson
4acca269c2
This is a Manager, not MongoClient
2015-02-19 13:59:50 -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
9e4277e402
PHPC-157: QueryResult and CommandResult are now Result
2015-02-18 11:00:07 -08:00
Hannes Magnusson
557ed02006
PHPC-146: ReadPreferences swapped
2015-01-28 13:46:22 -08:00
Hannes Magnusson
4a20c63e1c
PHPC-138: var_dump()ing ReadPreference
2015-01-27 11:55:43 -08:00
Hannes Magnusson
bb5f45c313
PHPC-118: Use MongoDB\Driver namespace for phongo
2014-12-30 14:58:33 -08:00
Hannes Magnusson
19cfa46ee1
new tests
2014-07-21 22:07:48 +00:00