https://xkcd.com/327/
So you would write db.execute(template) to turn template t"... where id = {id}" into a parameterized structure like ("... where id = ?", id).
https://xkcd.com/327/