0.3.0 • Published 2 years ago
@brngdsn/pg-dao v0.3.0
PostgresDAO (pg-dao)
A simple DAO for Postgres Pool, with a generic CRUD interface.
e.g.,
// Retrieve the `users` relation
const users = await dao.read('users')A simple DAO for Postgres Pool, with a generic CRUD interface.
e.g.,
// Retrieve the `users` relation
const users = await dao.read('users')