if you are interested in merging/joining data across db, the readme of the mysql version is very much complete: mysqlpromisedao.
it is a lib that provides a repository for db tables. It generates lots of functions based on a given schema.
cool features are:
joins and cross db joins
query batching(reduce the number of requests to the db. what is perfect for graphql)
but, it does not has any typescript support. I have build this, I build the mongodb version, I build the keyvalue version, but never used them in production,.... and before i do, I would add typescript.
github.com/TobiasNickel/TKeyValueDao
I found that I actually did not build it with redis, but with a simple in memory keyValue store. still, the store might be compatible with redis.
it uses superstruct schemas. in
test.jsyou can how it is used.if you are interested in merging/joining data across db, the readme of the mysql version is very much complete: mysqlpromisedao.
it is a lib that provides a repository for db tables. It generates lots of functions based on a given schema.
cool features are:
but, it does not has any typescript support. I have build this, I build the mongodb version, I build the keyvalue version, but never used them in production,.... and before i do, I would add typescript.
this looks quite interesting, I'll have a look!