News for hackers. Stuff that matters.
Re:Python: Just Write SQL by hot_gril on Monday August 14, 2023 @06:44PM (#37127699)
Doesn't even have to get very intense. A simple timeseries schema gets slow/annoying quickly with an ORM.
Re:Python: Just Write SQL by TX81Z on Tuesday August 15, 2023 @12:28PM (#37135941)
I think for a lot of things an ORM is “good” at, you could likely just have a bunch of static JSON files and retrieve them from disk with zero practical difference.

I just can’t wrap my head around why you even *need* a database in those cases.

Re:Python: Just Write SQL by hot_gril on Tuesday August 15, 2023 @02:06PM (#37137259)
You need a DB if you need to insert/update those objects transactionally, plus it's more convenient than mapping DB entries to files on disk. But you don't need an ORM for that anymore because Postgres and MySQL have json/jsonb types.