transform/mock named queries and named native queries