Skip to content

Commit

Permalink
Restore ability to set :closql-tables slots
Browse files Browse the repository at this point in the history
As before, the value passed to `oset' has to be a list of
keys, not the actual value.  That might eventually change.
  • Loading branch information
tarsius committed Jul 1, 2024
1 parent 7ab214c commit 47c263c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions closql.el
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,8 @@
(cond
((alist-get :closql-class props)
(error "Not implemented for closql-class slots: oset"))
((alist-get :closql-tables props)
(error "Not implemented for closql-tables slots: oset"))
(table
((or table
(setq table (car (alist-get :closql-tables props))))
(closql-with-transaction db
(let ((columns (closql--table-columns db table)))
;; Caller might have modified value in place.
Expand Down

0 comments on commit 47c263c

Please sign in to comment.