Skip to content

Commit

Permalink
closql-select: Cosmetics
Browse files Browse the repository at this point in the history
Emacsql now supports using * as a $v.
  • Loading branch information
tarsius committed Jul 31, 2019
1 parent e3c6210 commit 675301b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions closql.el
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,7 @@
(unless class
(setq class (oref-default db object-class)))
(emacsql db
(vconcat (if (eq select '*)
[:select * :from $i2]
[:select $i1 :from $i2])
(vconcat [:select $i1 :from $i2]
(and pred
[:where class :in $v3])
(if-let ((order (oref-default class closql-order-by)))
Expand Down

0 comments on commit 675301b

Please sign in to comment.