Primarily because you can reuse partial queries and add conditional where clauses more easily.
There are other features I haven't shown here as well, like building an IN expression with placeholders from a slice.
There are other features I haven't shown here as well, like building an IN expression with placeholders from a slice.
rows, err := db.execute("SELECT col FROM tab WHERE x = ?", 1);