Skip to content

Commit 9c535d5

Browse files
committed
Update the readme to require the sys module for console output.
1 parent d1ec3b9 commit 9c535d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ It uses the node.js tcp and event libraries. A javascript md5 library is includ
55

66
## Example use
77

8+
var sys = require("sys");
89
var Postgres = require('postgres.js');
910

1011
function onLoad() {
1112
var db = new Postgres.Connection("database", "username", "password");
1213
db.query("SELECT * FROM sometable", function (data) {
13-
p(data);
14+
sys.p(data);
1415
});
1516
db.close();
1617
}

0 commit comments

Comments
 (0)