a read only client for aerospike
Status | Version | Download | Platforms |
---|---|---|---|
Beta |
0.1.4 | Releases | Mac |
Sparrow is a minimal Aerospike client used to view data from your Aerospike cluster. Sparrow does not have ability to write/update data yet.
You can directly query for your primary key using the $pk
query
{
"$pk": ["a", "b"]
}
$pk
accepts list of primary keys and will only return data for the primary keys available in the set.
if $pk and $eq are both specified, $pk get precedence for querying.
The $eq
query uses filter expressions to query data for any secondary index. It does not work on primary key and fails if there is no secondary index on the key specified.
{
"$eq": {
"name": "codekidx"
}
}
The $select
selects only those bins which are provided in this query.
{
"$pk": ["a"],
"$select": ["name", "age"]
}
this only returns bins name
and age
instead of returning all bins. The $select
can also be used with $eq
query.
Currently you'll not be able to build and debug Sparrow on your system. There is a custom aerospike-client-rust fork with support for info command used in this app. The custom fork is not pushed upstream and want to maintain locally until it does.
yarn tauri dev