@slumber/db
v0.0.2
Published
The postgres connector for `slumber`.
Downloads
4
Readme
@slumber/db
The postgres connector for slumber
.
Usage
import Db from '@slumber/db'
const db = Db(process.env.DATABASE_URL)
Methods
open: () => void
close: () => void
run: <T>(queryString: string, values?: any[]) => Promise<T[]>