le-querybuilder-aurora-mysql-data-api
v0.1.2
Published
for use with serverless aurora data api mysql
Downloads
3
Readme
le-querybuilder-aurora-mysql-data-api
for use with serverless aurora data api mysql
Code Standard
- Use function for tree shaking purpose, aim to be near zero cost to code size
- Dont use overload cause it don't work well with bind/call/apply https://github.com/Microsoft/TypeScript/issues/28582
- Another package or package that use it should do the orm stuff themselves (such as defining entity type), for example of creating entity can refer to entitySchema.test.ts
DONE
- [x] Query builder for insert
- [x] Query builder for batch insert
- [x] Query builder for select (might still small function like HAVING, can just add in easily)
- [x] Query builder for update
- [x] Driver (but no tests + documentation)
TODO
- [] Query builder for delete
- [] Documentation
Usage with Driver
refer to the test folder
Refer to the test/entitySchema.test.ts on how to use the entitySchema and create entity schema in your project