Query Custom Data
Query custom entity data using an existing index.
Read time 1 minuteLast updated 21 hours ago
Query custom data. If no index is available to fulfill the query then the query will fail. Authentication Required:
Yesugs cloud-save data custom query [options]
Arguments
<visibility>defaultprivate<body>--body "{"fields":\[{"key":"EXAMPLE_KEY","value":"example_value","op":"EQ","asc":true}],"returnKeys":\["EXAMPLE_KEY"],"offset":0,"limit":100,"sampleSize":100}"{ "fields": [ { "key": "EXAMPLE_KEY", "value": "example_value", "op": "EQ", "asc": true } ], "returnKeys": [ "EXAMPLE_KEY" ], "offset": 0, "limit": 100, "sampleSize": 100}
Documentation
For more documentation on querying indexes, see the Unity Service API Docs.Options
Option | Alias | Description |
|---|---|---|
| project-id | -p, --project-id | The Unity cloud project ID. |
| environment-name | -e, --environment-name | The services environment name. |
| help | -?, -h, --help | Display help and usage information. |
| quiet | -q, --quiet | Reduce logging to a minimum. |
| json | -j, --json | Use JSON as the output format. |