diff --git a/examples/server_client_php/src/index.php b/examples/server_client_php/src/index.php index 5548e3c2..781a8a66 100644 --- a/examples/server_client_php/src/index.php +++ b/examples/server_client_php/src/index.php @@ -71,14 +71,11 @@ // :3: Find a node starting at the "users" node (could also be ":0" in this instance) with specific username. QueryBuilder::select() - ->ids( - QueryBuilder::search() - ->from("users") - ->where() - ->key("username") - ->value(ComparisonBuilder::Equal("user1")) - ->query() - ) + ->search() + ->from("users") + ->where() + ->key("username") + ->value(ComparisonBuilder::Equal("user1")) ->query(), ];