pg javascript get row from table code example Example: nodejs postgresql scalar query db.scalar('SELECT 1')