go-sqlite
chai
Our great sponsors
go-sqlite | chai | |
---|---|---|
12 | 13 | |
677 | 1,460 | |
- | 4.6% | |
7.6 | 8.5 | |
8 days ago | about 1 month ago | |
Go | Go | |
ISC License | MIT License |
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.
go-sqlite
-
JSON Canvas – An open file format for infinite canvas data
Check out https://github.com/zombiezen/go-sqlite if you're interested in trying out Sqlite in Go again. Nice interface, negligible compile time impact, fast, compiles without CGO. It's very comfortable.
I agree that going from text to sqlite is a bit of a hurdle, especially if you're not writing C :)
-
Jsonfile: A Quick Hack for Tinkering
struggling figuring out how to make my cgo sqlite cross-compile to Windows
Plenty of people trying to fix that.
There's at least:
https://modernc.org/sqlite
Then there's https://github.com/zombiezen/go-sqlite that actually builds https://crawshaw.io/sqlite on top of modernc.
And there's mine that has both a low level and a database/sql driver builds and runs everywhere Go does: https://github.com/ncruces/go-sqlite3
-
Any Full Text Search library for json data?
There are several different Go bindings for SQLite. I maintain https://pkg.go.dev/zombiezen.com/go/sqlite
-
What’s your preferred setup to work with SQL DB (without ORM) ?
I like and use https://github.com/zombiezen/go-sqlite for CGo-free SQLite. It avoids some of the problems database/sql has, discussed here: https://crawshaw.io/blog/go-and-sqlite.
- SQLite in Go, with and Without Cgo
- A pure Go embedded SQL database
-
Containerize Go and SQLite with Docker – 9MB Image Size
> C libraries are required to interact with SQLite
Or: modernc.org/sqlite (https://github.com/zombiezen/go-sqlite), "an automatically generated translation of the original C source code of SQLite into Go"
- Gokrazy – A Native Go Userland
-
Library for sqlite3 recommendations?
https://pkg.go.dev/modernc.org/sqlite via https://pkg.go.dev/zombiezen.com/go/sqlite
-
New advanced, CGo-free SQLite package
modernc.org/sqlite provides a database/sql driver, but does not (currently) provide an easy way to get at the more advanced functionality of SQLite, like streaming blob I/O or user-defined functions. David Crawshaw has argued that the database/sql API is not a good fit for SQLite, which is how crawshaw.io/sqlite came about.
chai
-
Polygon: Json Database System designed to run on small servers (as low as 16MB) and still be fast and flexible.
Some example of embeddable database could be genji, badger and boltdb
- Resource for making database from scratch
-
Databases: 2021 in Review and Predictions for 2022
I keep reaching for SQLite and it keeps working. Although I've been needing a better review of what other embedded databases I should be considering in 2022. I tried Genji[1] recently and tore it out as it wasn't doing ORDER BY with multiple columns.
1. https://genji.dev/
- Genji – Document-oriented, embedded SQL database written in Go
-
Open Source Databases in Go
Genji is a document-oriented, embedded, SQL database. It is build over Pebble which is a port of RocksDB in Go, by the authors of CockroachDB.
-
Looking for: library to turn SQL (or abstracted) to code & execute against custom backend (slice of structs)
Use sth like https://github.com/genjidb/genji, which is an embedded DB with SQL
-
Embedded database options
Another option could be also Genji - https://github.com/genjidb/genji
-
Alternative to MongoDB?
There is Genji, this is a document-oriented embedded SQL database written in Go. It's still a work in progress though, but it looks great!
- A pure Go embedded SQL database
- Which Go database/storage package do you go for first when your program needs to store a moderate amount of organized data?
What are some alternatives?
go-sqlite3 - sqlite3 driver for go using database/sql
sqlite
bbolt - An embedded key/value database for Go.
awesome-go-storage - A curated list of awesome Go storage projects and libraries
distroless - 🥑 Language focused docker images, minus the operating system.
ent - An entity framework for Go
bun - SQL-first Golang ORM
rqlite - The lightweight, distributed relational database built on SQLite.
bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
sqlite - Go SQLite3 driver
badger - Fast key-value DB in Go.