Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Binding to Postgres.js — sharing experience

$
0
0

Oh wow! I didn’t saw Bun’s SQL features. I was trying to use Bun on backend ~2 years ago and ironically enough it was 10X slower or so than Node.js in functions that use Postgres.js. I need to give it another try.

Also, the bindings to ReScript show how to properly deal with exactly the same case without a shim. Yes, they use %raw, but it’s better than a separate JS module.

Thank you @fabrv for showing this, thank you @zth for the bindings :heart:


Viewing all articles
Browse latest Browse all 2592

Trending Articles