Skip to content

Commit

Permalink
[docs] Update php example #1289 (#1291)
Browse files Browse the repository at this point in the history
Update index.php
  • Loading branch information
michaelvlach authored Sep 27, 2024
1 parent c29cc85 commit 8e87325
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions examples/server_client_php/src/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
];

Expand Down

0 comments on commit 8e87325

Please sign in to comment.