sqddl VS sq

Compare sqddl vs sq and see what are their differences.

sqddl

sqddl is a zero-configuration database migration tool. (by bokwoon95)

sq

sq is a type-safe data mapper and query builder for Go. (by bokwoon95)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
sqddl sq
6 10
14 227
- -
5.4 5.9
about 2 months ago 4 days ago
Go Go
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.

sqddl

Posts with mentions or reviews of sqddl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-25.
  • Advice needed for generating schema-struct diff
    1 project | /r/golang | 9 Mar 2023
    My CLI tool sqddl is exactly what you're asking for. Check out https://bokwoon.neocities.org/sqddl#automigrate.
  • Data Version Control?
    2 projects | /r/PostgreSQL | 25 Dec 2022
    https://github.com/bokwoon95/sqddl (However you need to install Go)
  • Golang Postgres Schema Builder?
    2 projects | /r/golang | 8 Dec 2022
    Oh hey, do I have the package for you. My package (https://github.com/bokwoon95/sqddl) converts a slice of ddl.Table structs into working DDL. Check it out:
  • Golang equivalent of C# Entity framework?
    3 projects | /r/golang | 29 Aug 2022
    Represent tables using structs: https://github.com/bokwoon95/sqddl/blob/main/ddl/testdata/tables.go.
  • Generate SQL migrations for Go using table structs
    1 project | /r/golang | 25 Jul 2022
  • A struct mapper, query builder and migration tool for Go.
    3 projects | /r/golang | 21 Jul 2022
    Finally it comes with a migration tool, sqddl, that supports a code-first workflow where you define table structs in Go and the tool figures out the DDL statements required to reach that destination schema from a source schema. It's basically GORM's automigrate, except instead of passing in table structs one-by-one for reflection it parses all table structs on the level of Go source files so adding a new table is as simple as defining a new table struct in your Go code. You can view a runnable playground example here: https://go.dev/play/p/S0jptJmsn70 (N.B. you might need to hit run a second time if it times out).

sq

Posts with mentions or reviews of sq. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-19.

What are some alternatives?

When comparing sqddl and sq you can also consider the following projects:

go_sql_benchmarks

vlcn-orm - Develop with your data model anywhere. Query and load data reactively. Replicate between peers without a central server.

kago - KaGo

scan - scan sql rows into any type powered by generics

goqu - SQL builder and query library for golang

korm - KORM, an elegant and lightning-fast ORM for all your concurrent and async needs. Inspired by the highly popular Django Framework, KORM offers similar functionality with the added bonus of performance

ent - An entity framework for Go

typed-graphql-builder - A fully type-safe graphql query builder, inspired by tql

dolt - Dolt – Git for Data

node-sql - SQL generation for node.js

Squirrel - Fluent SQL generation for golang