Commit Graph

39 Commits

Author SHA1 Message Date
Chance Hudson
ffe70fbaf3 fix: index accelerated query sorting 2022-01-12 22:04:57 +09:00
Chance Hudson
3ab19db4c0 fix: proper null handling in ne expressions for indexeddb
chore: add test
2021-11-10 23:14:36 +09:00
Chance Hudson
ae56882a99 feat: top level onComplete, well tested db tx error cases 2021-08-04 09:38:49 -05:00
Chance Hudson
d55a52ccf8 chore: transaction error test 2021-08-04 09:38:49 -05:00
Chance Hudson
1fc4674b99 fix: consistent AND/OR empty clause behavior 2021-07-07 10:54:41 -05:00
Chance Hudson
276ba16f8f feat: simple block cache 2021-06-09 08:09:55 -05:00
Chance Hudson
966739d8d7 feat: nin operator 2021-06-09 08:09:54 -05:00
Chance Hudson
a9b042827d feat: nested AND/OR operators 2021-06-09 08:09:54 -05:00
Chance Hudson
cb2f301243 feat: AND query support 2021-06-09 08:09:54 -05:00
Chance Hudson
95c62dcbda refactor: onCommit, onError, onComplete transaction callbacks 2021-05-24 10:43:55 -05:00
Chance Hudson
4b249bde9e feat: database transaction onCommitted callback 2021-05-24 10:19:52 -05:00
Chance Hudson
ff19a98f2f chore: lint 2021-05-10 18:49:21 -05:00
Chance Hudson
333c7d571e fix: return null for non-existent includes 2021-05-10 18:48:20 -05:00
Wanseob Lim
254da3e173 fix: @zkopru/database dependency on test cases; closes #198 2021-04-20 17:14:21 +09:00
Chance Hudson
a95ad97a93 feat: atomic transactions in indexedDB connector 2021-04-05 18:13:36 -05:00
Chance Hudson
b36ae83d00 chore: indexedDB connector tests 2021-04-05 18:13:34 -05:00
Chance Hudson
a50f4ba739 refactor: initialize schema in create function 2021-04-05 18:13:26 -05:00
Chance Hudson
5cc55b2309 refactor: remove comments, lint 2021-04-05 18:13:26 -05:00
Chance Hudson
480bc6d04a feat: basic IndexedDB connector
core zkopru node running in browser
semi-functional browser sync
2021-04-05 18:13:24 -05:00
Chance Hudson
c842da165e chore: transaction tests 2021-03-25 00:29:02 -05:00
Chance Hudson
233e7fbcec refactor: split db tests to multiple files 2021-03-25 00:29:00 -05:00
Chance Hudson
f9bbd19a78 refactor: remove orderBy, limit from delete operations 2021-03-25 00:28:58 -05:00
Chance Hudson
594a66aabc fix: deleteMany, add tests 2021-03-25 00:28:56 -05:00
Chance Hudson
986a9148b2 refactor: use single SQL command for upsert, return integer instead of objects 2021-03-25 00:28:49 -05:00
Chance Hudson
ce2cdda79e fix: re-enable postgres support 2021-03-25 00:28:34 -05:00
Chance Hudson
c2b2f87634 feat: postgres db support 2021-03-25 00:28:33 -05:00
Chance Hudson
476fa8cafd fix: update null handling 2021-03-25 00:28:03 -05:00
Chance Hudson
1d55d9ad4b fix: upsert creation bug 2021-03-25 00:28:01 -05:00
Chance Hudson
4d972930ae fix: linter 2021-03-25 00:27:59 -05:00
Chance Hudson
ca3bd007e5 fix: misc bugs, functional tree tests 2021-03-25 00:26:20 -05:00
Chance Hudson
89a62faced refactor: preset method, return objects from create/upsert 2021-03-25 00:26:13 -05:00
Chance Hudson
4244fcb07f feat: exported types, lt/gt/etc operators 2021-03-25 00:26:11 -05:00
Chance Hudson
15beb6ee84 chore: test coverage 2021-03-25 00:26:04 -05:00
Chance Hudson
bc29b7d416 fix: lint, wip delete operations 2021-03-25 00:26:00 -05:00
Chance Hudson
551d06a2a4 fix: linter 2021-03-25 00:25:58 -05:00
Chance Hudson
b5aceeff3f feat: basic database tests 2021-03-25 00:25:54 -05:00
Wanseob Lim
c7e4ad1c5c refactor(database): replace nanosql with prisma
closes #18;
2020-06-06 23:15:19 +09:00
Wanseob Lim
5cbdea5c41 refactor: build config 2020-05-07 15:49:39 +09:00
Wanseob Lim
147ab04101 fix: lerna testable 2020-04-08 02:42:47 +09:00