Implement insert_id and affected_rows.
Implement the blob type for the sqlite backend. Afraid of the mysql backend.