Seriously folks - just write straight up SQL. Your database is incredibly powerful and the best way to program it is with SQL. There's a vast array of features and capabilities that can best be made use of by ........ writing SQL. ChatGPT is incredibly good at writing SQL so its super easy. AND, BONUS ...... you get to carry accumulated knowledge forward because you are actually learning SQL instead of yet another ab…
Taking the Drizzle Challenge
11–14 of 14 posts
Re: Taking the Drizzle Challenge
#12It looks like as an ORM gets more expressive it looks more like regular SQL. What is a reasonable argument for using an ORM over writing SQL? I always feel like I'm missing something because it looks like you have to learn a specific library instead of a general purpose language.
Re: Taking the Drizzle Challenge
#13We're starting a new project and we've used Drizzle for the past two weeks and started having issues around migrations. For example, if we wanted to remove a table, removing the drizzle schema def doesn't generate a migration for it. What's worse is there's no traditional up / down migration for those familiar with knex. There's no "down" at all from what we saw. There is an issue opened on Drizzle about it and they…
Re: Taking the Drizzle Challenge
#14We're starting a new project and we've used Drizzle for the past two weeks and started having issues around migrations. For example, if we wanted to remove a table, removing the drizzle schema def doesn't generate a migration for it. What's worse is there's no traditional up / down migration for those familiar with knex. There's no "down" at all from what we saw. There is an issue opened on Drizzle about it and they…
I tried Kysely while evaluating libraries before writing my own. Its heavy reliance on strings for everything was a turn-off because it stops you from using any of the refactoring options Typescript offers. You cannot rename a column for example and have it applied automatically.