node.js query one record from postgres code example Example: nodejs postgresql scalar query db.scalar('SELECT 1')