diff options
Diffstat (limited to 'pg-datastore.lisp')
-rw-r--r-- | pg-datastore.lisp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pg-datastore.lisp b/pg-datastore.lisp index 7c25c33..317eca5 100644 --- a/pg-datastore.lisp +++ b/pg-datastore.lisp @@ -118,3 +118,9 @@ (execute (:update type :set 'priority (max 1 (min next-priority max-priority)) :where (:= 'id id)))))) + +(defmethod datastore-set-assignee + ((datastore pg-datastore) type id assignee) + (with-connection (connection-spec datastore) + (execute (:update type :set 'assignee assignee + :where (:= 'id id))))) |