From 6a69d4edec0164890f6fca6a5146be890e55701d Mon Sep 17 00:00:00 2001 From: Wes Morgan Date: Thu, 14 Aug 2025 13:44:34 -0600 Subject: [PATCH] Make search-by-value properties consistent with search-by-conditions --- docs/developers/operations-api/nosql-operations.md | 10 ++++++---- .../developers/operations-api/nosql-operations.md | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/docs/developers/operations-api/nosql-operations.md b/docs/developers/operations-api/nosql-operations.md index a60ab368..7691cd81 100644 --- a/docs/developers/operations-api/nosql-operations.md +++ b/docs/developers/operations-api/nosql-operations.md @@ -218,8 +218,10 @@ Returns data from a table for a matching value. - `operation` _(required)_ - must always be `search_by_value` - `database` _(optional)_ - database where the table you are searching lives. The default is `data` - `table` _(required)_ - table you wish to search -- `search_attribute` _(required)_ - attribute you wish to search can be any attribute -- `search_value` _(required)_ - value you wish to search - wild cards are allowed +- `attribute` _(required)_ - attribute you wish to search can be any attribute +- `search_attribute` - deprecated in favor of `attribute` +- `value` _(required)_ - value you wish to search - wild cards are allowed +- `search_value` - deprecated in favor of `value` - `get_attributes` _(required)_ - define which attributes you want returned. Use `['*']` to return all attributes ### Body @@ -229,8 +231,8 @@ Returns data from a table for a matching value. "operation": "search_by_value", "database": "dev", "table": "dog", - "search_attribute": "owner_name", - "search_value": "Ky*", + "attribute": "owner_name", + "value": "Ky*", "get_attributes": ["id", "dog_name"] } ``` diff --git a/versioned_docs/version-4.6/developers/operations-api/nosql-operations.md b/versioned_docs/version-4.6/developers/operations-api/nosql-operations.md index 55496327..b8ad9146 100644 --- a/versioned_docs/version-4.6/developers/operations-api/nosql-operations.md +++ b/versioned_docs/version-4.6/developers/operations-api/nosql-operations.md @@ -218,8 +218,10 @@ Returns data from a table for a matching value. - `operation` _(required)_ - must always be `search_by_value` - `database` _(optional)_ - database where the table you are searching lives. The default is `data` - `table` _(required)_ - table you wish to search -- `search_attribute` _(required)_ - attribute you wish to search can be any attribute -- `search_value` _(required)_ - value you wish to search - wild cards are allowed +- `attribute` _(required)_ - attribute you wish to search can be any attribute +- `search_attribute` - deprecated in favor of `attribute` +- `value` _(required)_ - value you wish to search - wild cards are allowed +- `search_value` - deprecated in favor of `value` - `get_attributes` _(required)_ - define which attributes you want returned. Use `['*']` to return all attributes ### Body @@ -229,8 +231,8 @@ Returns data from a table for a matching value. "operation": "search_by_value", "database": "dev", "table": "dog", - "search_attribute": "owner_name", - "search_value": "Ky*", + "attribute": "owner_name", + "value": "Ky*", "get_attributes": ["id", "dog_name"] } ```