Chained functions for building SQL strings for node-postgres.