nano-queries - Simple and powerful database-agnostic Query Builder for TypeScript (work with SQLite, Postgres, GraphQL, Redis, PGlite, etc) (github.com)
from vitonsky@programming.dev to programming@programming.dev on 21 Dec 2024 16:51
https://programming.dev/post/23128730

#programming

threaded - newest

[deleted] on 21 Dec 2024 17:44 next collapse

.

traches@sh.itjust.works on 21 Dec 2024 18:59 next collapse

Sqlite compiles to wasm, you can run it in the browser

intelisense@lemm.ee on 22 Dec 2024 01:38 collapse

A lot of people write Lambdas in TypeScript (compiled to JavaScript of course).

zbyte64@awful.systems on 21 Dec 2024 18:04 collapse

This might be a good fit for a side project I’m cooking up. I am planning on using DBT but I like how this is more dynamic. How does this compare to DBT? Can it turn CTE into views?

Another feature I am hunting for is something that parses the SQL query and produces a pydantic model.