-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
The example on the front page attempts to query the beatles table by doing this:
var query = client.query("SELECT * FROM beatles WHERE name = $1", ['john'])
The J should be capital in John because that is the way it was inserted and PostgreSQL is case sensitive. Because of this the example code doesn't return John's record. This issue can be confusing for new users wondering why the data is not coming back.
Query should be:
var query = client.query("SELECT * FROM beatles WHERE name = $1", ['John'])
Metadata
Metadata
Assignees
Labels
No labels