Update README.md
Got rid of duplicate variable
This commit is contained in:
parent
dc6521b7c1
commit
531f72dcb3
@ -37,7 +37,6 @@ var pg = require('pg');
|
||||
var copyFrom = require('pg-copy-streams').from;
|
||||
|
||||
pg.connect(function(err, client, done) {
|
||||
var text = 'COPY my_table FROM STDIN';
|
||||
var stream = client.query(copyFrom('COPY my_table FROM STDIN'));
|
||||
var fileStream = fs.createReadStream('some_file.tdv')
|
||||
fileStream.pipe(stream);
|
||||
|
Loading…
Reference in New Issue
Block a user