Commit Graph

11 Commits

Author SHA1 Message Date
Asdine El Hrychy
6bc4992d70 db: add Connection 2024-02-20 09:38:56 +04:00
Asdine El Hrychy
5095097a0a cleanup: delete assert package 2024-02-18 11:31:26 +04:00
Asdine El Hrychy
fc051f7cf9 db: only strict schemas 2024-02-17 14:27:02 +04:00
Asdine El Hrychy
edcb91d4c5 chore: rename genji to chai 2023-12-02 11:25:56 +04:00
Asdine El Hrychy
d981a577c0 db: introduce row type 2023-12-01 20:39:23 +04:00
Asdine El Hrychy
67fdb9ca6b Add custom encoding for documents 2022-05-15 21:53:41 +04:00
Asdine El Hrychy
61f020a9e7 Fix set behavior 2021-10-27 08:27:26 +04:00
Jean Hadrien Chabran
4a6e68439a Refactor to handle errors with internal/errors (#432)
All new error handling code now rely on internal/errors package
which provides a compilation time toggle that enables to capture
stacktraces for easier debugging while developing.

It also comes with a new testutil/assert package which replaces the require
package when it comes to checking or comparing errors and printing the
stack traces if needed.

Finally, the test target of the Makefile uses the debug build tag by default. 
A testnodebug target is also provided for convenience and to make sure no
tests are broken due to not having used the internal/errors or testutil/assert package.

See #431 for more details
2021-08-22 11:47:54 +03:00
Asdine El Hrychy
7b4a02a770 Rename __genji_schema to __genji_catalog 2021-06-26 18:46:57 +04:00
Asdine El Hrychy
35b74ab2ad Merge __genji_tables and __genji_indexes into __genji_schema
Table and index information is now stored in a single public table
2021-06-20 17:22:26 +04:00
Asdine El Hrychy
7a98a2025f Move statements into their own package 2021-05-30 12:47:17 +04:00