Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Kysely, a type-safe SQL query builder for TypeScript. Parent comment
1) db.execute("select name, tel from person where id={?}",personId);
2) const sqlText="select name, tel from person where id={?}";
db.execute(sqlText, personId);
3) as 2), but put sqlText in another file,
There are no comments on this comment yet.
1) db.execute("select name, tel from person where id={?}",personId);
2) const sqlText="select name, tel from person where id={?}";
db.execute(sqlText, personId);
3) as 2), but put sqlText in another file,