squid VS stackql-middleware

Compare squid vs stackql-middleware and see what are their differences.

squid

🦑 Provides SQL tagged template strings and schema definition functions. (by andywer)

stackql-middleware

Middleware solution to allow clients to query back end APIs using SQL (by stackql)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
squid stackql-middleware
2 1
130 7
- -
0.0 10.0
about 1 year ago over 1 year 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.

squid

Posts with mentions or reviews of squid. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-29.
  • Don't use your ORM entities for everything – embrace the SQL
    4 projects | news.ycombinator.com | 29 Mar 2024
    I guess I failed to set the context correctly given that you presented solutions for Clojure and Python, where it isn't as much of a problem since from the start the language fails to provide compiler guarantees you usually come to expect out of a SQL driver wrapper in typed languages (even though Clojure macros are probably powerful enough to allow this).

    As a comparison, DX-wise this is no safer and is indeed very similar to the usual idiom in Go for example, where you just concatenate (pre-interpolated) SQL strings. But when you actually want the compiler to prove the correctness of your queries even in a rudimentary way, these .sql file solutions usually (if not, everytime) fail to provide the necessary external checker that processes templates and uses an accurate model of your database and SQL to verify that all used combinations make sense.

    The closest thing to a proper take on this I've seen is https://github.com/andywer/squid with https://github.com/andywer/postguard which, although the SQL is inlined in the code, it uses the right approach for verifying correctness as far as I could tell in the little time I experimented with it.

  • "ORMs have a special place in my heart, not entirely unlike Brutus and Caesar: a dear friend who betrays you and leaves you to die a slow, painful death." – Taming SQL and ORMs with sqlc
    6 projects | /r/programming | 1 May 2022
    For typescript and javascript, there's also squid + its companion project, postguard: https://github.com/andywer/squid

stackql-middleware

Posts with mentions or reviews of stackql-middleware. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-06.
  • Unified analytics and IaC framework for cloud, IdP, and SaaS providers using SQL
    4 projects | news.ycombinator.com | 6 Oct 2023
    Hi HN, we have an open-source project called StackQL which can be used for CSPM, cross-provider UAM/entitlements reporting, inventory analysis, and finops across different public cloud and SaaS providers; see https://github.com/stackql/stackql-provider-registry. In addition, StackQL can be used for IaC (across different cloud providers), including multi-cloud transaction and rollback capability, which we are building out. Can be used standalone (in exec or server mode running a postgres wire protocol server) or using Docker, Python, Jupyter, within GitHub Actions (incl https://github.com/marketplace/actions/stackql-studios-stack... and https://github.com/marketplace/actions/stackql-studios-stack...) and more.

    The project can also be used with a private registry (API provider) as an application query interface - like GraphQL - except using SQL statements and transformations (including scalar and aggregate functions, joins, unions, and table-valued functions - see https://github.com/stackql/stackql-middleware and https://github.com/stackql/stackql-playground.

    We are looking for contributors!! The core project is written in Golang with tests implemented using the Robot framework and Python. We have about 40 related repos in our org, spanning Python, Jupyter, JavaScript/TypeScript (Deno and NodeJS). Let us know what you think!

What are some alternatives?

When comparing squid and stackql-middleware you can also consider the following projects:

ship-hold - data access framework for Postgresql on nodejs

database-lab-engine - DBLab enables 🖖 database branching and ⚡️ thin cloning for any Postgres database and empowers DB testing in CI/CD. This optimizes database-related costs while improving time-to-market and software quality. Follow to stay updated.

trilogy - TypeScript SQLite layer with support for both native C++ & pure JavaScript drivers.

stackql - Query, provision and operate Cloud and SaaS resources and APIs using an extensible SQL based framework

SQLDelight - SQLDelight - Generates typesafe Kotlin APIs from SQL

node-pg-migrate - Node.js database migration management for Postgresql

DotNet-ORM-Cookbook - This repository is meant to show how to perform common tasks using C# with variety of ORMs.

stackql-provider-registry - Registry for cloud and SaaS providers for StackQL, generated from extensions to the providers OpenAPI3 specification

Tortuga Chain - A fluent ORM for .NET

stackql-playground

Sequel - Sequel: The Database Toolkit for Ruby

node-starter-kit - Node.js / GraphQL project template pre-configured with TypeScript, PostgreSQL, login flow, transactional emails, unit tests, CI/CD workflow.