Skip to content

Commit 0c1499a

Browse files
committed
1 parent e3b962c commit 0c1499a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/document.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
$id = $handler->save("users", $user);
2828

2929
// get documents by example
30-
$cursor = $handler->getByExample("users", array("name" => "John", "age" => 19));
30+
$cursor = $collectionHandler->byExample("users", array("name" => "John", "age" => 19));
3131
var_dump($cursor->getAll());
3232

3333
// get the ids of all documents in the collection

0 commit comments

Comments
 (0)