Set the value of a hash field or multiple fields
RedisClient.hset method | Bun module | Bun BuildDocsReferenceGuidesBlogDiscord/Bun/RedisClient/hsetMhset BuildDocsReferenceGuidesBlogDiscord /Bun/RedisClient/hsetMhset RedisClient.hsethset(key: KeyLike,fields: Recordstring | number, number | KeyLike>): Promisenumber>; @param key @param fields @returns hset(key: KeyLike,field: KeyLike,value: KeyLike,...rest: KeyLike[]): Promisenumber>; @param key @param field @param value @param rest @returns Referenced typestype KeyLike = string | ArrayBufferView | Blob
Search the reference...
/
method
The hash key
Object/Record with field-value pairs
Promise that resolves with the number of fields that were added
Set the value of a hash field or multiple fields (variadic)
The hash key
The field name
The value to set
Additional field-value pairs
Promise that resolves with the number of fields that were added
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →RedisClient.hset method | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method bun.RedisClient.hset | Bun