mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
Rename method
This commit is contained in:
parent
5d27cf24e2
commit
fc875b0c1d
@ -76,7 +76,7 @@ test('read huge result', function(done) {
|
||||
var values = []
|
||||
cursor = pgCursor(text, values);
|
||||
var count = 0;
|
||||
var more = function() {
|
||||
var read = function() {
|
||||
cursor.read(1000, function(err, rows) {
|
||||
if(err) return done(err);
|
||||
if(!rows.length) {
|
||||
@ -90,5 +90,5 @@ test('read huge result', function(done) {
|
||||
setImmediate(more)
|
||||
})
|
||||
}
|
||||
more()
|
||||
read()
|
||||
}, 100000)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user