Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrasingh committed Aug 4, 2024
1 parent e8d3d75 commit f565a9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geoprox-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ shard.insert_key("drivers", "bob", [36.2047, 138.2528]).unwrap();
// ? search 'drivers' near Japan
let nearby: LatLngCoord = [36.2048, 138.2529];
let within: f64 = 50.0; // 50km radius
let count: usize = 100; // return up to 100 results
let sorted: bool = true; // sort results by distance
let count = 100; // return up to 100 results
let sorted = true; // sort results by distance
let res = shard.query_range("drivers", nearby, within, count, sorted).unwrap();
println!("found: {:#?}", res);
```
Expand Down

0 comments on commit f565a9e

Please sign in to comment.