Query builder for PostgreSQL backed by query parser