refactor(Query): support json-patching
refactor(Query): support json-patching

Add:

- Query.prototype.getRowValue
- Query.prototype.getCastFields

Necessary to support JSON-patching in @knorm/postgres.

Ref: https://github.com/knorm/postgres/pull/12

joelmukuthu/knorm