Files: 1eb144e388da5f1a3466703f56ac4ab591d700fc / test / test-79-npm / pg-query-stream / pg-query-stream@1.0.0.js
233 bytesRaw
1 | ; |
2 | |
3 | var QueryStream = require('pg-query-stream'); |
4 | var query = new QueryStream('SELECT * FROM generate_series(0, $1) num', [ 1000000 ]); |
5 | if (query.state || |
6 | (query.cursor && query.cursor.state)) { |
7 | console.log('ok'); |
8 | } |
9 |
Built with git-ssb-web