Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/titarenko/qpg
Q-style PG (https://github.com/kriskowal/q, https://github.com/brianc/node-postgres)
https://github.com/titarenko/qpg
Last synced: about 1 month ago
JSON representation
Q-style PG (https://github.com/kriskowal/q, https://github.com/brianc/node-postgres)
- Host: GitHub
- URL: https://github.com/titarenko/qpg
- Owner: titarenko
- Created: 2014-03-23T04:41:14.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-23T05:21:49.000Z (almost 11 years ago)
- Last Synced: 2024-04-09T21:06:31.520Z (9 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QPG
[Q](https://github.com/kriskowal/q)-style [PG](https://github.com/brianc/node-postgres)
## Installation
```
npm install qpg --save
```## Usage
```js
var qpg = require('qpg');
qpg.url = 'postgres://user:password@server/db';
qpg.query('select * from information_schema.tables').then(function(rows) {
// do something with rows
}).catch(function(error) {
// do something with error
});
```## License
MIT