Extract PostgreSQL query building to own methods
Extract PostgreSQL query building to own methods

- Allows custom logic to build a Squel query using built-in methods,
  and then mutate query before executing

optics-team/prism,optics-team/prism,optics-team/prism,optics-team/prism