5 ms·
Congrats! I see that Kretes uses Sqorn [1] for talking to the database. I really like the looks of Sqorn, however iiuc, it doesn't support typescript right?
by tango12 6y ago
Congrats!
I see that Kretes uses Sqorn [1] for talking to the database.
I really like the looks of Sqorn, however iiuc, it doesn't support typescript right?
How does that piece work?
[1] https://github.com/sqorn/sqorn https://github.com/sqorn/sqorn
- zaiste 6y agoHello Tanmai :) Yes, exactly. It's not typed and also not actively maintained. The goal is to have a fully typed query builder that's adapted only to PostgreSQL. Here's the preliminary work for that [1]. I would also like to find a way to fully integrate with Hasura [1]: https://github.com/typeofweb/functional-orm https://github.com/typeofweb/functional-orm
- tango12 6y agoHey Zaiste! I missed your name as OP :) That looks like a really good start. Do you think it'll end up looking like JOOQ? Would be interesting to see how you get things like aggregations and perhaps even things like: `SELECT 1, 'hello'` to work. That would be the ultimate test! Happy to help with any Hasura integrations whenever you're ready too! Let's chat again soon. :)
- zaiste 6y agoYes, our discussion a few weeks ago pushed me further to explore this topic. JOOQ is exactly what I'm looking for JavaScript/TypeScript. It's just a matter of having enough time ;) Thanks for the proposition regarding Hasura integration. Happy to chat soon. Good luck with everything.
- liminal 6y agoThat Postgres query library could be the most broadly useful part of the whole stack. Also looks like a big job! Best of luck!