Select columns and filter records
#HMGET retrieves fields from a known hash key. Search can filter indexed records and project fields with RETURN; it is a separate query language, not SQL. This query uses the sample Search index and returns positive quantities in stable ID order.
Fragment
Native commands in one redis-cli session; # lines are explanatory, not commands. Examples use disposable ref:* keys.