News for hackers. Stuff that matters.
Re:Show HN: Kysely, a type-safe SQL query builder for TypeSc... by vlod on Wednesday June 21, 2023 @03:04PM (#36422872)
Any patterns you'd recommend? (pseudo code)

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.