diff options
Diffstat (limited to 'qlite/src/insert_builder.vala')
-rw-r--r-- | qlite/src/insert_builder.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qlite/src/insert_builder.vala b/qlite/src/insert_builder.vala index 654935a6..c1c17123 100644 --- a/qlite/src/insert_builder.vala +++ b/qlite/src/insert_builder.vala @@ -54,7 +54,7 @@ public class InsertBuilder : StatementBuilder { return this; } - public InsertBuilder value_null<T>(Column<T> column) { + public InsertBuilder value_null<T>(Column<T> column) throws DatabaseError { if (column.not_null) throw new DatabaseError.ILLEGAL_QUERY(@"Can't set non-null column $(column.name) to null"); if (fields == null) { fields = { new NullField<T>(column) }; |