Parameterizing queries for escape sanity and readability