hstrlen #
Returns the string length of a field's value in a hash.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/ms/_hstrlen/<_id>/<field>
Method: GET
Other protocols #
{
"controller": "ms",
"action": "hstrlen",
"_id": "<key>",
"field": "<field>"
}
Arguments #
_id
: hash key identifierfield
: hash field name
Response #
Returns the length of the requested hash field.
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "hstrlen",
"collection": null,
"index": null,
"result": 42
}
Edit this page on Github(opens new window)