Hacker News new | ask | show | jobs
by Izkata 428 days ago
The first one already exists like:

  db.execute("SELECT * FROM table WHERE id = ?", (row_id,))