@mdsdev/core v0.2.9
@mds/dal Synopsis
Postgres CRUD with high level abstraction using slonik
Code Example
Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.
Installation
Two uses cases tested as is , insert and update, delete works for multiple and 1 id
Use the sql to create a single table to run integration tests
tests/asset.sql
$ npm install
Locally Installing
In your project copy the link generated by npm link like this
$ npm link [name_of_package] [link]
Once you have it link in your new project and see it inside of the node_modules folder you are good to go
API Reference
Depending on the size of the project, if it is small and simple enough the reference docs can be added to the README. For medium size to larger projects it is important to at least provide a link to where the API reference docs live.
Tests
$ npm run integration:test
Contributors
- Miguel Mayori (initial version)
License
MIT
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago