aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model/lint-warning-message.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-09-04 12:57:06 +0200
committerChristopher Baines <mail@cbaines.net>2019-09-04 19:27:48 +0200
commit80010a8a1bda00de816dce22b0b712653b088180 (patch)
treed5928c2e8d8587a0fc9f1f0e18e5545e5a973fe5 /guix-data-service/model/lint-warning-message.scm
parent14419422008cc1ba42dea5ef90e6fb2762633064 (diff)
downloaddata-service-80010a8a1bda00de816dce22b0b712653b088180.tar
data-service-80010a8a1bda00de816dce22b0b712653b088180.tar.gz
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.
Diffstat (limited to 'guix-data-service/model/lint-warning-message.scm')
-rw-r--r--guix-data-service/model/lint-warning-message.scm3
1 files changed, 1 insertions, 2 deletions
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)))