sql-template-tag VS yesql

Compare sql-template-tag vs yesql and see what are their differences.

sql-template-tag

ES2015 tagged template string for preparing SQL statements, works with `pg`, `mysql`, `sqlite` and `oracledb` (by blakeembrey)

yesql

A Clojure library for using SQL. (by krisajenkins)
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
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
sql-template-tag yesql
3 4
368 1,475
0.0% 0.1%
6.3 6.5
about 1 year ago 8 months ago
TypeScript Clojure
MIT License Eclipse Public License 1.0
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.

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.

yesql

Posts with mentions or reviews of yesql. 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
    21 projects | news.ycombinator.com | 14 Aug 2023
    There's a whole family of libraries like that. Yesql is the first I became aware of. The repo has an (incomplete) list of ports to other languages: https://github.com/krisajenkins/yesql#other-languages
  • Is it possible/useful to extract SQL queries into a "config file"?
    1 project | /r/softwaredevelopment | 2 Feb 2023
  • Library Writing Realizations
    2 projects | news.ycombinator.com | 24 Jul 2022
    > People will not read the docs.

    Reminds me of a pull request I made a while ago

    https://github.com/krisajenkins/yesql/pull/151/files

    The first piece of code on the readme is "not the solution" (lol), and everybody I knew who was trying to use that library was copy-pasting that specific piece of code from the readme.

  • Rich Hickey – open-source is Not About You
    7 projects | news.ycombinator.com | 2 Jul 2022
    If you're not familiar with lisps in general, it might be hard to grok the differences between lisp-macros (as used in Clojure) and "normal" macros you see in other languages.

    But, if you are familiar already, and just wanna see examples of neat macros that makes the API nicer than what a function could provide, here are a few:

    - https://github.com/clojure/core.async/blob/master/examples/w...

    - https://github.com/weavejester/compojure

    - https://github.com/ptaoussanis/timbre

    - https://github.com/krisajenkins/yesql

What are some alternatives?

When comparing sql-template-tag and yesql you can also consider the following projects:

mini_sql - a minimal, fast, safe sql executor

squiller - Generate boilerplate from annotated SQL queries

sqlc-gen-python

pugsql - A HugSQL-inspired database library for Python

Dapper.SimpleCRUD - Who wants to write basic read/insert/update/delete statements? SimpleCRUD provides simple CRUD helpers for Dapper.

compojure - A concise routing library for Ring/Clojure

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
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured