233
234
"INSERT INTO document VALUES (:id, :rev, :doc);",
234
235
":id", typeof (string), new_doc.id,
235
236
":rev", typeof (string), new_doc.revision,
238
239
// TODO: Update the index too
239
240
_db.execute ("INSERT INTO transaction_log(doc_id) VALUES (:id);",