sqlnotebook
Sqinn-Go
sqlnotebook | Sqinn-Go | |
---|---|---|
1 | 8 | |
589 | 403 | |
- | - | |
7.6 | 5.5 | |
7 months ago | 5 months ago | |
C# | Go | |
MIT License | The Unlicense |
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.
sqlnotebook
-
Show HN: My Go SQLite driver did poorly on a benchmark, so I fixed it
The meat of the P/Invoke code is in here: https://github.com/electroly/sqlnotebook/tree/master/src/Sql...
The parent directory includes code that uses it. I'm most proud of this SQLite virtual table module that proxies queries to remote ADO.NET connections, allowing you to write joins directly between local SQLite tables and remote SQL Server tables. https://github.com/electroly/sqlnotebook/blob/master/src/Sql...
I've also got a generic virtual table module that lets me easily write table-valued functions in C#: https://github.com/electroly/sqlnotebook/blob/master/src/Sql...
The goal is to provide various "supercharged" features to base SQLite by taking advantage of all the extension points I can. I wish some went further; in particular the virtual table API doesn't "push down" enough of the original query to allow the module to avoid doing O(N+1) queries in some cases.
Sqinn-Go
-
Show HN: My Go SQLite driver did poorly on a benchmark, so I fixed it
Note that Squinn is not "native go" or "go only", but the owner insists on misleading people:
https://github.com/cvilsmeier/sqinn-go/issues/8
- Show HN: Sqinn-Go is a Golang library for accessing SQLite databases in pure Go
- SQLite in Go, with and Without Cgo
-
SQLite in Go, with and without cgo
If you want to avoid cgo, consider sqinn as well: benchmarks.
-
A remote JSON interface for SQLite, in Go
Of course, it may seem... odd to add a remote interface to an embedded database, but I think that it fits some niches well, especially when decoupling persistence and logic is needed, without renouncing to the expressivity of SQL. It was inspired by PostgREST, but it’s much more “low level” – and it should be even simpler to adapt to some cases. Also, it serves the same purpose of sqinn but with a more general interface.
-
Go performance from version 1.2 to 1.18
Why don't you try a pure-Go implementation? Should have enough features implemented for basic use
https://github.com/cvilsmeier/sqinn-go
What are some alternatives?
sqinn - SQLite over stdin/stdout
go-sqlite3 - sqlite3 driver for go using database/sql
sqlx - general purpose extensions to golang's database/sql
vertica-sql-go - Official native Go client for the Vertica Analytics Database.
go-mssqldb - Microsoft SQL server driver written in go language
godror - GO DRiver for ORacle DB
go-sql-driver/mysql - Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package
pgx - PostgreSQL driver and toolkit for Go
go-oci8 - Oracle driver for Go using database/sql
goracle
go-bqstreamer
pq - Pure Go Postgres driver for database/sql