News for hackers. Stuff that matters.
Re:I don't want to learn your query language (2018) by keithnz on Wednesday March 10, 2021 @03:58PM (#26416143)
in C# (using Rider) I do all my queries in .sql files, fully connected to a real database with full auto complete (including auto writing your join), there's a section to define all the variables the query is expecting, and then, then I have a wee open source lib for embedding all your queries into your program and an easy way to get them out then use things like Dapper or RepoDB to ruin the queries with parameters. No string based sql at all. works well. https://github.com/keithn/katoa.queries

There are no comments on this comment yet.