aboutsummaryrefslogtreecommitdiff
path: root/qlite/src/delete_builder.vala
diff options
context:
space:
mode:
Diffstat (limited to 'qlite/src/delete_builder.vala')
-rw-r--r--qlite/src/delete_builder.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/qlite/src/delete_builder.vala b/qlite/src/delete_builder.vala
index 679c8284..8e4afb06 100644
--- a/qlite/src/delete_builder.vala
+++ b/qlite/src/delete_builder.vala
@@ -12,7 +12,7 @@ public class DeleteBuilder : StatementBuilder {
private string selection;
private StatementBuilder.Field[] selection_args;
- protected DeleteBuilder(Database db) {
+ internal DeleteBuilder(Database db) {
base(db);
}
@@ -56,7 +56,7 @@ public class DeleteBuilder : StatementBuilder {
return this;
}
- public override Statement prepare() throws DatabaseError {
+ internal override Statement prepare() throws DatabaseError {
Statement stmt = db.prepare(@"DELETE FROM $table_name $(selection != null ? @"WHERE $selection": "")");
for (int i = 0; i < selection_args.length; i++) {
selection_args[i].bind(stmt, i+1);