Set the value of a key and return its old value
RedisClient.getset method | Bun module | Bun BuildDocsReferenceGuidesBlogDiscord/Bun/RedisClient/getsetMgetset BuildDocsReferenceGuidesBlogDiscord /Bun/RedisClient/getsetMgetset RedisClient.getsetgetset(key: KeyLike,value: KeyLike): Promisenull | string>; @param key @param value @returns Referenced typestype KeyLike = string | ArrayBufferView | Blob
Search the reference...
/
method
The key to set
The value to set
Promise that resolves with the old value, or null if the key didn't exist
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →RedisClient.getset method | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method bun.RedisClient.getset | Bun