sql-template-tag
ES2015 tagged template string for preparing SQL statements, works with `pg`, `mysql`, `sqlite` and `oracledb` (by blakeembrey)
Dapper.SimpleCRUD
Who wants to write basic read/insert/update/delete statements? SimpleCRUD provides simple CRUD helpers for Dapper. (by ericdc1)

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
sql-template-tag | Dapper.SimpleCRUD | |
---|---|---|
3 | 2 | |
368 | 1,157 | |
0.0% | 0.0% | |
6.3 | 0.0 | |
about 1 year ago | over 1 year ago | |
TypeScript | C# | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sql-template-tag
Posts with mentions or reviews of sql-template-tag.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-14.
-
Python: Just Write SQL
You can avoid this entirely with JavaScript's tagged template literals. Here is an example library: https://github.com/blakeembrey/sql-template-tag
-
Knex Raw SQL String SQL Highlighting VS Code and best practices to avoid SQL Injection Attack?
If you prefer SQL and you use postgres you can check out slonik. If you want to keep using knex you can use https://github.com/blakeembrey/sql-template-tag. They will add placeholders for all the values and expose helper for query building via strings (e.g. a special join). At the same time they are typesafe.
- Objection to ORM Hatred
Dapper.SimpleCRUD
Posts with mentions or reviews of Dapper.SimpleCRUD.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-08.
-
100 stars in Github - Dapper Query Builder using String Interpolation
Regarding CUD (inserts/updates/deletes), I think Dommel works similarly to Dapper.FastCRUD and Dapper.SimpleCRUD, and those two look a little more mature in my opinion (not sure, but I really have the impression that Dommel is targeted at people who like this LINQ intellisense).
-
Objection to ORM Hatred
I use dapper with a plugin called dapper.simplecrud (https://github.com/ericdc1/Dapper.SimpleCRUD). This already helps to reduce the need to write simple but error-prone SQL code quite a lot. When doing SQL operations more complicated than a simple crud, I resort to raw SQL or stored procedure.
What are some alternatives?
When comparing sql-template-tag and Dapper.SimpleCRUD you can also consider the following projects:
mini_sql - a minimal, fast, safe sql executor
Dapper.FastCRUD - fast .NET ORM for strongly typed people
sqlc-gen-python
DapperQueryBuilder - Dapper Query Builder using String Interpolation and Fluent API
yesql - A Clojure library for using SQL.
Dapper Extensions - Dapper Extensions is a small library that complements Dapper by adding basic CRUD operations (Get, Insert, Update, Delete) for your POCOs. For more advanced querying scenarios, Dapper Extensions provides a predicate system. The goal of this library is to keep your POCOs pure by not requiring any attributes or base class inheritance.

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured