As a motivating example, for the middle wire functionality of the orm, we should create multi tenancy middleware, which applies a tenant_id = ? clause to every table in the query.
We need to think carefully how this middleware gets applied, because the tenant ID is likely to need to be different on a request by request basis.