swift-cloud / Upstash

A Upstash client compatible with Swift Cloud and Fastly Compute@Edge
MIT License
7 stars 0 forks source link

Refactor Get/Set API #2

Closed AndrewBarba closed 1 year ago

AndrewBarba commented 1 year ago
let visits: Int = try await kv.exec("incr", "visits").decode()

try await kv.set("foo", ["a": "b"])