Skip to content

Commit

Permalink
feat: use unqualified cols in the default query
Browse files Browse the repository at this point in the history
  • Loading branch information
Akeboshiwind committed Jun 4, 2024
1 parent 295d62c commit 4257436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cljs/xt_play/query.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;; >> API

(def default-xtql-query "(from :docs [xt/id foo])")
(def default-sql-query "SELECT docs.xt$id, docs.foo FROM docs")
(def default-sql-query "SELECT xt$id, foo FROM docs")

(defn default [type]
(case type
Expand Down

0 comments on commit 4257436

Please sign in to comment.