From 8e873257a445ab46003cc415bc830c3c42e7f60b Mon Sep 17 00:00:00 2001 From: Michael Vlach Date: Fri, 27 Sep 2024 19:45:28 +0200 Subject: [PATCH] [docs] Update php example #1289 (#1291) Update index.php --- examples/server_client_php/src/index.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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(), ];