aboutsummaryrefslogtreecommitdiff
path: root/qlite/src/table.vala
diff options
context:
space:
mode:
Diffstat (limited to 'qlite/src/table.vala')
-rw-r--r--qlite/src/table.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/qlite/src/table.vala b/qlite/src/table.vala
index 6e7e1290..82759dd1 100644
--- a/qlite/src/table.vala
+++ b/qlite/src/table.vala
@@ -68,6 +68,11 @@ public class Table {
return db.update(this);
}
+ public UpsertBuilder upsert() throws DatabaseError {
+ ensure_init();
+ return db.upsert(this);
+ }
+
public DeleteBuilder delete() throws DatabaseError {
ensure_init();
return db.delete().from(this);