Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gustavohennig/simpledbquerybuilder
A very simply, lightweight, and fast SQL builder with detached request and responses.
https://github.com/gustavohennig/simpledbquerybuilder
net- orm postgresql sql-builder sqlite
Last synced: about 10 hours ago
JSON representation
A very simply, lightweight, and fast SQL builder with detached request and responses.
- Host: GitHub
- URL: https://github.com/gustavohennig/simpledbquerybuilder
- Owner: GustavoHennig
- License: apache-2.0
- Created: 2021-01-31T20:01:59.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-07T00:04:01.000Z (3 months ago)
- Last Synced: 2024-08-07T02:56:16.673Z (3 months ago)
- Topics: net-, orm, postgresql, sql-builder, sqlite
- Language: C#
- Homepage:
- Size: 49.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Simple Database Query BuilderThis is a Simple Database **Query Builder** with **Migrations** and **Pooling**.
Initially designed for **Sqlite** but can be used with other databases.
The goal is to be extremely simple, and to use **lightweight** data structures to manipulate in memory.
#### How it works
Using the patter Producer/Consumer, all queries are put int a queue,
then a single thread is responsible to execute each command.
It is optimized for SQLite, running batch operations inside a transaction.
#### Known issues`DbQueue` implementation is problematic, if an error occurs, all transaction commands will be lost.
#### Things to do
- [ ] Unit tests;
- [ ] Refactor `BaseDbConn` and `DbQueue` to respect the single-responsibility principle.
- [ ] Organize folder/namespaces
- [ ] Fix DbQueue reliability problem#### Do not forget
- SOLID is nice, but KISS is what guides this project :)