This commit is contained in:
parent
99586a795b
commit
056925788a
@ -39,7 +39,7 @@ The two share the same interface so __no other code changes should be required__
|
||||
client.connect();
|
||||
|
||||
//queries are queued and executed one after another once the connection becomes available
|
||||
client.query("CREATE TEMP TABLE beatles(name varchar(10), height integer, birthday timestamps)");
|
||||
client.query("CREATE TEMP TABLE beatles(name varchar(10), height integer, birthday timestamptz)");
|
||||
client.query("INSERT INTO beatles(name, height, birthday) values($1, $2, $3)", ['Ringo', 67, new Date(1945, 11, 2)]);
|
||||
client.query("INSERT INTO beatles(name, height, birthday) values($1, $2, $3)", ['John', 68, new Date(1944, 10, 13)]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user