|
|
|
|
|
by tracker1
227 days ago
|
|
I'm more a fan of just a sql template string handler... in C#/.Net I rely on Dapper... for node, I like being able to do things like... const results = await query`
SELECT...
FROM...
WHERE x = ${varname}
`;
Note: This is not sql injection, the query is a string template handler that creates a parameterized query and returns the results asynchronously. There's adapters for most DBs, or it's easy enough to write one in a couple dozen lines of code or less. |
|
However drizzle makes it very very straightfoward to handle DB migration / versioning, so I like it a lot for that.