Flyweight: A Node.js ORM Specifically for SQLite
1–10 of 45 posts
Re: Flyweight: A Node.js ORM Specifically for SQLite
#2reminds of kysely typed SQL builder which was perfect to use with postgres in one of my previous projects.
I currently am working on a sqlite based project but based on Tauri's sqlite connector which is plain SQL.
Is there anyway I can make use of Flyweight in Tauri based projects?
Re: Flyweight: A Node.js ORM Specifically for SQLite
#3Re: Flyweight: A Node.js ORM Specifically for SQLite
#4I've read a lot of good things about https://docs.sqlc.dev/en/latest/tutorials/getting-started-po... which does a similar thing on Go. Codegen over predefined sql queries seem like a good idea.
Re: Flyweight: A Node.js ORM Specifically for SQLite
#5Re: Flyweight: A Node.js ORM Specifically for SQLite
#6Re: Flyweight: A Node.js ORM Specifically for SQLite
#7Another day, another ORM.
Just use SQL on both ends
"SQL IS OLD AND ISN'T A REAL LANGUAGE WRITE ACTUAL CODE WITH PANDAS OR SPARK" in the middle
I'm getting old :(
https://www.reddit.com/r/datascience/comments/s0dn5b/2022_mo...
Re: Flyweight: A Node.js ORM Specifically for SQLite
#8I've read a lot of good things about https://docs.sqlc.dev/en/latest/tutorials/getting-started-po... which does a similar thing on Go. Codegen over predefined sql queries seem like a good idea.
Re: Flyweight: A Node.js ORM Specifically for SQLite
#9This might be the answer to an unusual date bug I noticed years ago but haven't prioritized fixing in a personal project. TIL!
Re: Flyweight: A Node.js ORM Specifically for SQLite
#10So this ORM positively surprised me, as you can still just use SQL and get a JS function generated from it.
To bridge object-to-relational mapping, Oracle has an interesting concept called "JSON duality views". Don't dismiss it because it is Oracle, I think the concept is brilliant. The translation from relational to JSON happens in the database, and it also allows you to send an updated JSON back and the DB will automatically run the necessary DML operations. A good example is here: https://oracle-base.com/articles/23c/json-relational-duality...