SQL queries wrapper generator with typed parameters