josephg / node-foundationdb

Modern Node.js FoundationDB bindings
Other
116 stars 17 forks source link

Tuple layer #8

Closed josephg closed 6 years ago

josephg commented 6 years ago

The tuple layer needs porting over to typescript & the new APIs

josephg commented 6 years ago

Ported, although currently the API isn't hooked up.

I could easily make it so tn.set([1,2,3], "hi") worked by automatically encoding via the tuple layer. But if I do that, everything else that fetches keys (getKey, getRange) will keep seeing an opaque Buffer. So you'll need to interact with it anyway.

Maybe its worth it? Hm.