sql-template-tag
ES2015 tagged template string for preparing SQL statements, works with `pg`, `mysql`, `sqlite` and `oracledb` (by blakeembrey)
vscode-sqltools
Database management for VSCode (by mtxr)

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 | vscode-sqltools | |
---|---|---|
3 | 6 | |
368 | 879 | |
0.0% | - | |
6.3 | 4.1 | |
about 1 year ago | over 3 years ago | |
TypeScript | 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.
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
vscode-sqltools
Posts with mentions or reviews of vscode-sqltools.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-05-23.
-
PostgreSQL IDE in VS Code
There is also an extension for VS Code from the same author
https://github.com/mtxr/vscode-sqltools
-
Passwordless login to Postgres from VSCode SQLTools extension using IDENT/PEER method
GitHub issue discussing this topic
- SQLTools VSCode extension is looking for maintainers
- How do I add a db to an existing connection other than the one it asks for when connecting? I tried refreshing and messing around with options but found nothing. (I want both root and simple_bank)
-
VSCode extensions that you need [Webdevs]🚀🔧
18. SQL Tools
What are some alternatives?
When comparing sql-template-tag and vscode-sqltools you can also consider the following projects:
mini_sql - a minimal, fast, safe sql executor
vscode-spell-checker - A simple source code spell checker for code
sqlc-gen-python
vscode-database-client - Database Client For Visual Studio Code
yesql - A Clojure library for using SQL.
vscode-sqlite - VSCode extension to explore and query SQLite databases.

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