News for hackers. Stuff that matters.
Re:Ask HN: Is there still ORM hate these days? by fwungy on Wednesday November 15, 2023 @07:29PM (#38284378)
SQL seems like a perfect candidate for AI support.

> Join the tables foo and bar on bar_id and bar and baz on baz_id and select quip that begins with 'it' or ends with 'qu' but does not have numbers, for oracle, using date format mm/dd/yyyy.

Re:Ask HN: Is there still ORM hate these days? by jaredsohn on Wednesday November 15, 2023 @09:20PM (#38285179)
AI support also works great for generating code that uses ORMs.
Re:Ask HN: Is there still ORM hate these days? by tonnyxu on Wednesday November 15, 2023 @09:53PM (#38285384)
We tried with ChatGPT, if you throw enough context(Database Schema) to it, it will be able to find the relationship in the tables and generate the join correctly. And for date format, yeah, if you don't specify it, you won't get what you want in some cases.