From 80010a8a1bda00de816dce22b0b712653b088180 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 4 Sep 2019 12:57:06 +0200 Subject: Improve insert-missing-data-and-return-all-ids Use exec-query-with-null-handling to distinguish NULL values, change it to just take a list of fields and remove the handlers. Also, add a sets-of-data? parameter so that this can be used licenses. --- guix-data-service/model/lint-warning-message.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'guix-data-service/model/lint-warning-message.scm') diff --git a/guix-data-service/model/lint-warning-message.scm b/guix-data-service/model/lint-warning-message.scm index 70851d9..7e54e41 100644 --- a/guix-data-service/model/lint-warning-message.scm +++ b/guix-data-service/model/lint-warning-message.scm @@ -12,8 +12,7 @@ (insert-missing-data-and-return-all-ids conn "lint_warning_messages" - `((locale . ,quote-string) - (message . ,quote-string)) + '(locale message) (map (match-lambda ((locale . message) (list locale message))) -- cgit v1.2.3