branch: elpa/emacsql
commit 50ae54d15932d128bd4429c2695f0531ccbc0f40
Author: Christopher Wellons <well...@nullprogram.com>
Commit: Christopher Wellons <well...@nullprogram.com>

    Use expressions in select columns.
---
 emacsql.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emacsql.el b/emacsql.el
index ede5b0b288..cd7606bf92 100644
--- a/emacsql.el
+++ b/emacsql.el
@@ -419,7 +419,7 @@ definitions for return from a `emacsql-defexpander'."
     (cond
      ((eq '* arg) "*")
      ((vectorp arg)
-      (mapconcat (lambda (s) (var s :identifier)) arg ", "))
+      (mapconcat (lambda (s) (combine (emacsql--expr s))) arg ", "))
      ((var arg :identifier)))))
 
 (emacsql-defexpander :from (table)

Reply via email to