mirror of https://github.com/VinGarcia/ksql.git
As known, a map can't be accessed with read/write concurrently on multiple goroutines. This just replaces all uses of global maps for caches with sync.Map, which is safe to be used concurrently. |
||
---|---|---|
.. | ||
README.md | ||
insert.go | ||
insert_test.go | ||
kbuilder.go | ||
query.go | ||
query_test.go |
README.md
Welcome to the KISS Query Builder
This is the Keep It Stupid Simple query builder created to work either in conjunction or separated from the ksql package.
This package was started after ksql and while the ksql is already in a usable state I still don't recommend using this one since this being actively implemented and might change without further warning.
TODO List
- Add support to Update and Delete operations
- Improve support to JOINs by adding the
tablename
tag to the structs - Add error check for when the Select, Insert and Update attrs are all empty