Full reference for Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HKEYS, HVALS, HLEN, HEXISTS, and HMGET for managing field-value maps.
A hash is a map of field-value pairs stored under a single key. You can think of each hash as a lightweight object or record: one key holds all the attributes of a user, a product, or any other entity without needing to scatter them across many string keys. Hash commands let you read, write, and introspect individual fields or the entire map in one round-trip.
HSET
Sets one or more fields on the hash stored at key. If the key does not exist, a new hash is created. Existing fields are overwritten with the new value; brand-new fields are added.Syntax:HSET key field value [field value ...]
HSET user:1 name Alice age 30 email alice@example.com# (integer) 3 (three new fields were added)HSET user:1 age 31# (integer) 0 (field existed, updated in place)
Returns: Integer — the number of fields that were newly added (not updated).
HGET
Returns the value of a single field in the hash stored at key.Syntax:HGET key field
HGET user:1 name# "Alice"HGET user:1 phone# (nil)
Returns: Bulk string — the field value, or nil if the key or field does not exist.
HDEL
Removes one or more fields from the hash stored at key. Fields that do not exist are silently ignored.Syntax:HDEL key field [field ...]
Returns:1 if the field exists, 0 if it does not (or if the key does not exist).
HMGET
Returns the values of multiple fields in one call. For any field that does not exist, nil is returned in that position.Syntax:HMGET key field [field ...]
HMGET user:1 name age phone# 1) "Alice"# 2) "31"# 3) (nil)
Returns: Array of bulk strings (or nil entries) in the same order as the requested fields.
Practical example: user profile
Hashes are a natural fit for storing records. Here’s a complete flow for managing a user profile:
# Create the profileHSET user:1 name Alice age 30 email alice@example.com# Read a single attributeHGET user:1 name# "Alice"# Read the whole recordHGETALL user:1# 1) "name"# 2) "Alice"# 3) "age"# 4) "30"# 5) "email"# 6) "alice@example.com"# List just the field namesHKEYS user:1# [name, age, email]# Check field countHLEN user:1# (integer) 3# Update one fieldHSET user:1 age 31# Remove a fieldHDEL user:1 email# Confirm removalHEXISTS user:1 email# (integer) 0
Use HSET with multiple field-value pairs instead of issuing several individual HSET calls. A single round-trip is faster and ensures all fields land atomically.
HGETALL returns fields in insertion order as stored internally. If you need a guaranteed order, use HKEYS to retrieve and sort field names, then fetch values with HMGET.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Cache-Pot","colors":{"primary":"#354dc4","light":"#94a4e4","dark":"#040404"},"favicon":"https://mintcdn.com/cache-pot/jaPVeYuoKuH3pJ7K/favicon.svg?fit=max\u0026auto=format\u0026n=jaPVeYuoKuH3pJ7K\u0026q=85\u0026s=8994a540ba087074e755f8177dd3d8c4","navbar":{"primary":{"type":"github","href":"https://github.com/subh05sus/cache-pot"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cache-pot","hasAudioNarration":false,"actualSubdomain":"cache-pot","customDomains":["cache-pot.thatdevguy.in"],"gitSource":{"type":"github","owner":"subh05sus","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae95bd2e1186677be46c81f:success","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Documentation","count":20},{"language":"default","tag":"Commands","count":14},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Data Types","count":5},{"language":"default","tag":"Core Concepts","count":5},{"language":"default","tag":"Advanced","count":4},{"language":"default","tag":"AI Extensions","count":3},{"language":"default","tag":"Configuration","count":3},{"language":"default","tag":"Dashboard","count":3},{"language":"default","tag":"Get Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"commands/hashes","slug":"/commands/hashes","pageMetadata":{"title":"Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HMGET","sidebarTitle":"Hashes","description":"Full reference for Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HKEYS, HVALS, HLEN, HEXISTS, and HMGET for managing field-value maps.","href":"/commands/hashes"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Full reference for Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HKEYS, HVALS, HLEN, HEXISTS, and HMGET for managing field-value maps.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`A hash is a map of field-value pairs stored under a single key. You can think of each hash as a lightweight object or record: one key holds all the attributes of a user, a product, or any other entity without needing to scatter them across many string keys. Hash commands let you read, write, and introspect individual fields or the entire map in one round-trip.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`hset`,children:`HSET`}),`\n`,_jsxs(_components.p,{children:[`Sets one or more fields on the hash stored at `,_jsx(_components.code,{children:`key`}),`. If the key does not exist, a new hash is created. Existing fields are overwritten with the new value; brand-new fields are added.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Syntax:`}),` `,_jsx(_components.code,{children:`HSET key field value [field value ...]`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HSET user:1 name Alice age 30 email alice@example.com`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# (integer) 3 (three new fields were added)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HSET user:1 age 31`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# (integer) 0 (field existed, updated in place)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returns:`}),` Integer — the number of fields that were newly added (not updated).`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`hget`,children:`HGET`}),`\n`,_jsxs(_components.p,{children:[`Returns the value of a single field in the hash stored at `,_jsx(_components.code,{children:`key`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Syntax:`}),` `,_jsx(_components.code,{children:`HGET key field`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HGET user:1 name`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# \"Alice\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HGET user:1 phone`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# (nil)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returns:`}),` Bulk string — the field value, or nil if the key or field does not exist.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`hdel`,children:`HDEL`}),`\n`,_jsxs(_components.p,{children:[`Removes one or more fields from the hash stored at `,_jsx(_components.code,{children:`key`}),`. Fields that do not exist are silently ignored.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Syntax:`}),` `,_jsx(_components.code,{children:`HDEL key field [field ...]`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HDEL user:1 email`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# (integer) 1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HDEL user:1 phone fax`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# (integer) 0 (neither field existed)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returns:`}),` Integer — the number of fields that were actually removed.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`hgetall`,children:`HGETALL`}),`\n`,_jsxs(_components.p,{children:[`Returns all field-value pairs in the hash stored at `,_jsx(_components.code,{children:`key`}),` as a flat array: field₁, value₁, field₂, value₂, …`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Syntax:`}),` `,_jsx(_components.code,{children:`HGETALL key`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HGETALL user:1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 1) \"name\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 2) \"Alice\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 3) \"age\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 4) \"31\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returns:`}),` Array of bulk strings alternating field and value. Returns an empty array if the key does not exist.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`hkeys`,children:`HKEYS`}),`\n`,_jsxs(_components.p,{children:[`Returns all field names in the hash stored at `,_jsx(_components.code,{children:`key`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Syntax:`}),` `,_jsx(_components.code,{children:`HKEYS key`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HKEYS user:1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 1) \"name\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 2) \"age\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returns:`}),` Array of bulk strings — one entry per field. Returns an empty array if the key does not exist.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`hvals`,children:`HVALS`}),`\n`,_jsxs(_components.p,{children:[`Returns all values in the hash stored at `,_jsx(_components.code,{children:`key`}),`, in the same order as `,_jsx(_components.code,{children:`HKEYS`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Syntax:`}),` `,_jsx(_components.code,{children:`HVALS key`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HVALS user:1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 1) \"Alice\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 2) \"31\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returns:`}),` Array of bulk strings — one entry per value. Returns an empty array if the key does not exist.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`hlen`,children:`HLEN`}),`\n`,_jsxs(_components.p,{children:[`Returns the number of fields in the hash stored at `,_jsx(_components.code,{children:`key`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Syntax:`}),` `,_jsx(_components.code,{children:`HLEN key`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HLEN user:1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# (integer) 2`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returns:`}),` Integer — the field count, or `,_jsx(_components.code,{children:`0`}),` if the key does not exist.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`hexists`,children:`HEXISTS`}),`\n`,_jsxs(_components.p,{children:[`Tests whether a field exists in the hash stored at `,_jsx(_components.code,{children:`key`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Syntax:`}),` `,_jsx(_components.code,{children:`HEXISTS key field`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HEXISTS user:1 name`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# (integer) 1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HEXISTS user:1 phone`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# (integer) 0`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returns:`}),` `,_jsx(_components.code,{children:`1`}),` if the field exists, `,_jsx(_components.code,{children:`0`}),` if it does not (or if the key does not exist).`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`hmget`,children:`HMGET`}),`\n`,_jsx(_components.p,{children:`Returns the values of multiple fields in one call. For any field that does not exist, nil is returned in that position.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Syntax:`}),` `,_jsx(_components.code,{children:`HMGET key field [field ...]`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HMGET user:1 name age phone`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 1) \"Alice\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 2) \"31\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 3) (nil)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returns:`}),` Array of bulk strings (or nil entries) in the same order as the requested fields.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`practical-example-user-profile`,children:`Practical example: user profile`}),`\n`,_jsx(_components.p,{children:`Hashes are a natural fit for storing records. Here’s a complete flow for managing a user profile:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`34`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`34`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Create the profile`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HSET user:1 name Alice age 30 email alice@example.com`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Read a single attribute`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HGET user:1 name`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# \"Alice\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Read the whole record`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HGETALL user:1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 1) \"name\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 2) \"Alice\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 3) \"age\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 4) \"30\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 5) \"email\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# 6) \"alice@example.com\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# List just the field names`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HKEYS user:1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# [name, age, email]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Check field count`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HLEN user:1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# (integer) 3`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Update one field`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HSET user:1 age 31`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Remove a field`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HDEL user:1 email`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Confirm removal`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HEXISTS user:1 email`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# (integer) 0`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`HSET`}),` with multiple field-value pairs instead of issuing several individual `,_jsx(_components.code,{children:`HSET`}),` calls. A single round-trip is faster and ensures all fields land atomically.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`HGETALL`}),` returns fields in insertion order as stored internally. If you need a guaranteed order, use `,_jsx(_components.code,{children:`HKEYS`}),` to retrieve and sort field names, then fetch values with `,_jsx(_components.code,{children:`HMGET`}),`.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HMGET","sidebarTitle":"Hashes","description":"Full reference for Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HKEYS, HVALS, HLEN, HEXISTS, and HMGET for managing field-value maps.","href":"/commands/hashes"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"HSET","slug":"hset","depth":3,"children":[]},{"title":"HGET","slug":"hget","depth":3,"children":[]},{"title":"HDEL","slug":"hdel","depth":3,"children":[]},{"title":"HGETALL","slug":"hgetall","depth":3,"children":[]},{"title":"HKEYS","slug":"hkeys","depth":3,"children":[]},{"title":"HVALS","slug":"hvals","depth":3,"children":[]},{"title":"HLEN","slug":"hlen","depth":3,"children":[]},{"title":"HEXISTS","slug":"hexists","depth":3,"children":[]},{"title":"HMGET","slug":"hmget","depth":3,"children":[]},{"title":"Practical example: user profile","slug":"practical-example-user-profile","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"cache-pot","siteName":"Cache-Pot","title":"Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HMGET - Cache-Pot","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-07T18:37:35.973Z","originalFileLocation":"commands/hashes.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Full reference for Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HKEYS, HVALS, HLEN, HEXISTS, and HMGET for managing field-value maps.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cache-Pot\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cache-pot/p8n20i3bqKZw87FA/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cache-pot/p8n20i3bqKZw87FA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cache-pot/p8n20i3bqKZw87FA/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cache-pot/p8n20i3bqKZw87FA/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cache-pot/p8n20i3bqKZw87FA/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cache-pot/p8n20i3bqKZw87FA/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cache-pot/p8n20i3bqKZw87FA/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cache-pot/p8n20i3bqKZw87FA/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cache-pot/p8n20i3bqKZw87FA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HMGET - Cache-Pot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Full reference for Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HKEYS, HVALS, HLEN, HEXISTS, and HMGET for managing field-value maps.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cache-Pot\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://cache-pot.thatdevguy.in/commands/hashes\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cache-pot.mintlify.site/_mintlify/api/og/v2?division=Data+Types\u0026amp;title=Cache-Pot+hash+commands%3A+HSET%2C+HGET%2C+HDEL%2C+HGETALL%2C+HMGET\u0026amp;description=Full+reference+for+Cache-Pot+hash+commands%3A+HSET%2C+HGET%2C+HDEL%2C+HGETALL%2C+HKEYS%2C+HVALS%2C+HLEN%2C+HEXISTS%2C+and+HMGET+for+managing+field-value+maps.\u0026amp;theme=fba809c5a30670d77c810a28\u0026amp;signature=3510d85be95bbb388fa9a15530fb913ab0658a447ad980b689558ed3c5e91751\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HMGET - Cache-Pot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Full reference for Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HKEYS, HVALS, HLEN, HEXISTS, and HMGET for managing field-value maps.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cache-pot.mintlify.site/_mintlify/api/og/v2?division=Data+Types\u0026amp;title=Cache-Pot+hash+commands%3A+HSET%2C+HGET%2C+HDEL%2C+HGETALL%2C+HMGET\u0026amp;description=Full+reference+for+Cache-Pot+hash+commands%3A+HSET%2C+HGET%2C+HDEL%2C+HGETALL%2C+HKEYS%2C+HVALS%2C+HLEN%2C+HEXISTS%2C+and+HMGET+for+managing+field-value+maps.\u0026amp;theme=fba809c5a30670d77c810a28\u0026amp;signature=3510d85be95bbb388fa9a15530fb913ab0658a447ad980b689558ed3c5e91751\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cache-pot/p8n20i3bqKZw87FA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cache-Pot\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#354dc4\">\u003clink data-mint-head rel=\"canonical\" href=\"https://cache-pot.thatdevguy.in/commands/hashes\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/commands/hashes.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://cache-pot.thatdevguy.in/#organization\",\"name\":\"Cache-Pot\",\"url\":\"https://cache-pot.thatdevguy.in\"},{\"@type\":\"WebSite\",\"@id\":\"https://cache-pot.thatdevguy.in#website\",\"name\":\"Cache-Pot\",\"url\":\"https://cache-pot.thatdevguy.in\",\"publisher\":{\"@id\":\"https://cache-pot.thatdevguy.in/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://cache-pot.thatdevguy.in/commands/hashes#webpage\",\"url\":\"https://cache-pot.thatdevguy.in/commands/hashes\",\"name\":\"Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HMGET\",\"description\":\"Full reference for Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HKEYS, HVALS, HLEN, HEXISTS, and HMGET for managing field-value maps.\",\"dateModified\":\"2026-07-07T18:37:35.973Z\",\"isPartOf\":{\"@id\":\"https://cache-pot.thatdevguy.in#website\"},\"breadcrumb\":{\"@id\":\"https://cache-pot.thatdevguy.in/commands/hashes#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://cache-pot.thatdevguy.in/commands/hashes#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Data Types\",\"item\":\"https://cache-pot.thatdevguy.in/commands/strings\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HMGET\",\"item\":\"https://cache-pot.thatdevguy.in/commands/hashes\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://cache-pot.thatdevguy.in/commands/hashes#article\",\"headline\":\"Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HMGET\",\"name\":\"Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HMGET\",\"description\":\"Full reference for Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HKEYS, HVALS, HLEN, HEXISTS, and HMGET for managing field-value maps.\",\"url\":\"https://cache-pot.thatdevguy.in/commands/hashes\",\"mainEntityOfPage\":{\"@id\":\"https://cache-pot.thatdevguy.in/commands/hashes#webpage\"},\"dateModified\":\"2026-07-07T18:37:35.973Z\",\"publisher\":{\"@id\":\"https://cache-pot.thatdevguy.in/#organization\"},\"isPartOf\":{\"@id\":\"https://cache-pot.thatdevguy.in#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cache-Pot\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cache-Pot\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/commands/hashes.md","siteName":"Cache-Pot","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Commands","groups":[{"group":"Connection \u0026 Server","pages":[{"title":"Cache-Pot connection and server commands reference","sidebarTitle":"Connection","href":"/commands/connection"},{"title":"Cache-Pot persistence commands: SAVE, BGSAVE, BGREWRITEAOF","sidebarTitle":"Persistence","href":"/commands/persistence"}]},{"group":"Data Types","pages":[{"title":"String commands in Cache-Pot: GET, SET, INCR, APPEND","sidebarTitle":"Strings","description":"Full reference for Cache-Pot string commands: GET, SET, GETSET, APPEND, STRLEN, GETRANGE, SETRANGE, INCR, DECR, INCRBY, DECRBY, MGET, MSET.","href":"/commands/strings"},{"title":"Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HMGET","sidebarTitle":"Hashes","href":"/commands/hashes"},{"title":"List commands in Cache-Pot: LPUSH, RPUSH, LRANGE","sidebarTitle":"Lists","description":"Reference for Cache-Pot list commands: LPUSH, RPUSH, LPOP, RPOP, LLEN, LINDEX, LRANGE. Lists are ordered sequences with O(1) push/pop.","href":"/commands/lists"},{"title":"Set commands in Cache-Pot: SADD, SMEMBERS, SISMEMBER","sidebarTitle":"Sets","href":"/commands/sets"},{"title":"Sorted set commands in Cache-Pot: ZADD, ZRANGE, ZRANGEBYSCORE","sidebarTitle":"Sorted Sets","href":"/commands/sorted-sets"}]},{"group":"AI Extensions","pages":[{"title":"Cache-Pot vector commands: VSET, VSEARCH, VDEL, VCARD, VDIM","sidebarTitle":"Vectors","href":"/commands/vectors"},{"title":"Cache-Pot semantic cache: SCACHE.SET and SCACHE.GET","sidebarTitle":"Semantic Cache","href":"/commands/semantic-cache"},{"title":"REMEMBER and RECALL commands for agent session memory","sidebarTitle":"Agent Memory","href":"/commands/agent-memory"}]},{"group":"Advanced","pages":[{"title":"Key commands: DEL, EXPIRE, TTL, SCAN, TYPE, RENAME","sidebarTitle":"Keys","href":"/commands/keys"},{"title":"Pub/Sub commands: SUBSCRIBE, PUBLISH, PSUBSCRIBE","sidebarTitle":"Pub/Sub","href":"/commands/pubsub"},{"title":"Transactions in Cache-Pot: MULTI, EXEC, WATCH","sidebarTitle":"Transactions","href":"/commands/transactions"},{"title":"Observability commands: MONITOR, SLOWLOG, CLIENT, CONFIG","sidebarTitle":"Observability","href":"/commands/observability"}]}]}]},"basePath":"","title":"Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HMGET - Cache-Pot","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}