adding a getQuery function that will return a query string, given a
connection, schema, table, columns and filters as well as the entity id.
(experimental).