Query using JSON

Options
Similar to how we can filter a query's results using external filtering by passing in JSON, it would be great to have the ability to perform a Query All Records query by passing in JSON.

This would mean that we don't need to define a query all records for every table in the database that we want callable via API. 

The current method means that we need to create IF statements throughout a function stack if we want to use one API endpoint that could pass back results for multiple tables.

A JSON query would define the table, the columns to return, and any filters to apply to the query as well.