SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Relational Database Open-Source Projects
-
go-sql-driver/mysql
Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package (by go-sql-driver)
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
prisma-client-py
Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
sqlx for the database driver.
Project mention: Setting up a Database Driver, Repository and Implementation of a transaction function for your Go App | dev.to | 2024-04-22Sometimes, backend developers tend to opt for an ORM library because it provides an abstraction between your app and the database and thus there is little or no need to write raw queries and migrations which is nice. However, if you want to get better at writing queries (SQL for example), you need to learn how to build your repositories without an ORM. To open a database handle, you can either do it directly from the database driver or do it from database/sql with the driver passed into it. I will be opening the connection with database/sql together with pgx which is a driver and toolkit for PostgreSQL. Walk with me.
Project mention: Python: A SQLAlchemy Wrapper Component That Works With Both Flask and FastAPI Frameworks | dev.to | 2024-05-03In SQLAlchemy, models representing database tables typically subclass sqlalchemy.orm.DeclarativeBase (this class supersedes the sqlalchemy.orm.declarative_base function). Accordingly, the abstract base class in this database wrapper component is a sqlalchemy.orm.DeclarativeBase subclass, accompanied by another custom base class providing additional dunder methods.
Project mention: Authentication system using Golang and Sveltekit - Initialization and setup | dev.to | 2023-06-02Following the completion of the series — Secure and performant full-stack authentication system using rust (actix-web) and sveltekit and Secure and performant full-stack authentication system using Python (Django) and SvelteKit — I felt I should keep the streak by building an equivalent system in PURE go with very minimal external dependencies. We won't use any fancy web framework apart from httprouter and other basic dependencies including a database driver (pq), and redis client. As usual, we'll be using SvelteKit at the front end, favouring JSDoc instead of TypeScript. The combination is ecstatic!
SQLite encryption at-rest is a hot requested feature of both the “default” CGo driver [1] and the transpiled alternative driver [2]. So, this is a feature I wanted to bring to my own Wasm based Go driver/bindings [3].
Open-source SQLite encryption extensions have had a troubled last few years. For whatever reason, in 2020 the (undocumented) feature that made it easy to offer page-level encryption was removed [4]. Some solutions are stuck with SQLite 3.31.1, but Ulrich Telle stepped up with a VFS approach [5].
Still, their solution seemed harder than something I'd want to maintain, as it requires understanding the structure of what's being written to disk at the VFS layer. So, I looked at full disk encryption for something with less of an impedance mismatch.
Specifically, I'm using the Adiantum tweakable and length-preserving encryption (with 4K blocks, matching the default SQLite page size), and encrypting whole files (rather than page content).
I'm not a cryptographer, so I'd really appreciate some roasting before release.
There is nothing very Go specific about this (apart from the implementation) so if there are no obvious flaws, it may make sense to port it to C/Rust/etc and make it a loadable extension.
[1] https://github.com/mattn/go-sqlite3/pull/1109
micronaut-data/doc-examples/r2dbc-example-java - GitHub
Project mention: Show HN: My Go SQLite driver did poorly on a benchmark, so I fixed it | news.ycombinator.com | 2023-12-14Note that Squinn is not "native go" or "go only", but the owner insists on misleading people:
https://github.com/cvilsmeier/sqinn-go/issues/8
Relational Databases related posts
-
Python: A SQLAlchemy Wrapper Component That Works With Both Flask and FastAPI Frameworks
-
Show HN: Roast my SQLite encryption at-rest
-
Setting up a Database Driver, Repository and Implementation of a transaction function for your Go App
-
Replacing Complicated Hashmaps with SQLite
-
Xz/liblzma: Bash-stage Obfuscation Explained
-
The DDD Hamburger for Go
-
Alembic with Async SQLAlchemy
-
A note from our sponsor - SaaSHub
www.saashub.com | 10 May 2024
Index
What are some of the best open-source Relational Database projects? This list will help you:
Project | Stars | |
---|---|---|
1 | sqlx | 15,448 |
2 | go-sql-driver/mysql | 14,204 |
3 | Peewee | 10,825 |
4 | pgx | 9,523 |
5 | SQLAlchemy | 8,841 |
6 | pq | 8,776 |
7 | go-sqlite3 | 7,488 |
8 | PonyORM | 3,528 |
9 | GINO | 2,644 |
10 | djongo | 1,857 |
11 | go-mssqldb | 1,793 |
12 | orm | 1,754 |
13 | prisma-client-py | 1,618 |
14 | go-oci8 | 628 |
15 | godror | 504 |
16 | pyDAL | 477 |
17 | micronaut-data | 457 |
18 | Sqinn-Go | 402 |
19 | firebirdsql | 219 |
20 | homebase-react | 201 |
21 | go-adodb | 136 |
22 | gofreetds | 110 |
23 | vertica-sql-go | 60 |
Sponsored