git ssb

0+

cel-desktop / ssb-pkg



Tree: 1eb144e388da5f1a3466703f56ac4ab591d700fc

Files: 1eb144e388da5f1a3466703f56ac4ab591d700fc / test / test-79-npm / pg-query-stream / pg-query-stream@1.0.0.js

233 bytesRaw
1'use strict';
2
3var QueryStream = require('pg-query-stream');
4var query = new QueryStream('SELECT * FROM generate_series(0, $1) num', [ 1000000 ]);
5if (query.state ||
6 (query.cursor && query.cursor.state)) {
7 console.log('ok');
8}
9

Built with git-ssb-web