Sets or clears the bit at offset in the string value stored at key
RedisClient.setbit method | Bun module | Bun BuildDocsReferenceGuidesBlogDiscord/Bun/RedisClient/setbitMsetbit BuildDocsReferenceGuidesBlogDiscord /Bun/RedisClient/setbitMsetbit RedisClient.setbitsetbit(key: KeyLike,offset: number,value: 0 | 1): Promisenumber>; @param key @param offset @param value @returns Referenced typestype KeyLike = string | ArrayBufferView | Blob
Search the reference...
/
method
The key to modify
The bit offset (zero-based)
The bit value to set (0 or 1)
Promise that resolves with the original bit value stored at offset
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →RedisClient.setbit method | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method bun.RedisClient.setbit | Bun