mini_sql
a minimal, fast, safe sql executor (by discourse)
sql-template-tag
ES2015 tagged template string for preparing SQL statements, works with `pg`, `mysql`, and `sqlite` (by blakeembrey)
mini_sql | sql-template-tag | |
---|---|---|
1 | 3 | |
379 | 317 | |
0.0% | - | |
3.9 | 6.3 | |
9 months ago | about 1 month ago | |
Ruby | TypeScript | |
MIT License | MIT License |
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.
mini_sql
Posts with mentions or reviews of mini_sql.
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
For those looking for a rubyish approach to this see: https://github.com/discourse/mini_sql
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
What are some alternatives?
When comparing mini_sql and sql-template-tag you can also consider the following projects:
yesql - A Clojure library for using SQL.
Dapper.SimpleCRUD - Who wants to write basic read/insert/update/delete statements? SimpleCRUD provides simple CRUD helpers for Dapper.
sqlc-gen-python
sqlz - Simple struct/slice/chan mapper for SQL rows.
vscode-sqltools - Database management for VSCode
typed-sql
jOOQ - jOOQ is the best way to write SQL in Java
pugsql - A HugSQL-inspired database library for Python
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
Sequel - Sequel: The Database Toolkit for Ruby
Atlas.Orm - A data mapper implementation for your persistence model in PHP.
mini_sql vs yesql
sql-template-tag vs Dapper.SimpleCRUD
mini_sql vs sqlc-gen-python
sql-template-tag vs yesql
mini_sql vs sqlz
sql-template-tag vs vscode-sqltools
mini_sql vs typed-sql
sql-template-tag vs jOOQ
mini_sql vs pugsql
sql-template-tag vs TypeORM
mini_sql vs Sequel
sql-template-tag vs Atlas.Orm