10 ms·
No, a t-string returns a Template which is basically { strings: str[], values: any[] }. So you would write db.execute(template) to turn template t"... where id
by hombre_fatal 2y ago
No, a t-string returns a Template which is basically { strings: str[], values: any[] }.
So you would write db.execute(template) to turn template t"... where id = {id}" into a parameterized structure like ("... where id = ?", id).