select row_to_json(t) from ( select id, "email", "passwordHash", role from public."User" ) t Select PosgreSQL as JSON Category: Uncategorized 0 1013 views