I would like it very much if we could name parameters in queries, instead of the current $1, $2, $3... nonsense. For example:
client.query("INSERT INTO beatles(name, height, birthday) values($1, $2, $3)", ['John', 68, new Date(1944, 10, 13)]);
would become:
client.query("INSERT INTO beatles(name, height, birthday) values(:name, :height, :birthday)", {
name: 'John',
height: 68,
birthday: new Date(1944, 10, 13)
});
It would allow for much cleaner code in more complex cases.