We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3b962c commit 0c1499aCopy full SHA for 0c1499a
examples/document.php
@@ -27,7 +27,7 @@
27
$id = $handler->save("users", $user);
28
29
// get documents by example
30
- $cursor = $handler->getByExample("users", array("name" => "John", "age" => 19));
+ $cursor = $collectionHandler->byExample("users", array("name" => "John", "age" => 19));
31
var_dump($cursor->getAll());
32
33
// get the ids of all documents in the collection
0 commit comments