Get TTL of hash fields in seconds (Redis 7.4+) Syntax: HTTL key FIELDS numfields field [field ...]
RedisClient.httl method | Bun module | Bun BuildDocsReferenceGuidesBlogDiscord/Bun/RedisClient/httlMhttl BuildDocsReferenceGuidesBlogDiscord /Bun/RedisClient/httlMhttl RedisClient.httlhttl(key: KeyLike,fieldsKeyword: 'FIELDS',numfields: number,...fields: KeyLike[]): Promisenumber[]>; @returns Referenced typestype KeyLike = string | ArrayBufferView | Blob
Search the reference...
/
method
Array where each element is: -2 (field doesn't exist), -1 (no expiration), TTL in seconds
redis.httl("mykey", "FIELDS", 2, "field1", "field2")
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →RedisClient.httl method | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method bun.RedisClient.httl | Bun