Pre: Delete trailing whitespace.
This commit is contained in:
parent
db68a714f6
commit
636b7a7957
1 changed files with 19 additions and 19 deletions
|
@ -4,13 +4,13 @@
|
||||||
|
|
||||||
(ns datomish.query
|
(ns datomish.query
|
||||||
(:require
|
(:require
|
||||||
[datomish.util :as util :refer [raise var->sql-var]]
|
[datomish.util :as util :refer [raise var->sql-var]]
|
||||||
[datomish.transforms :as transforms]
|
[datomish.transforms :as transforms]
|
||||||
[datascript.parser :as dp
|
[datascript.parser :as dp
|
||||||
#?@(:cljs [:refer [Pattern DefaultSrc Variable Constant Placeholder]])]
|
#?@(:cljs [:refer [Pattern DefaultSrc Variable Constant Placeholder]])]
|
||||||
[clojure.string :as str]
|
[clojure.string :as str]
|
||||||
[honeysql.core :as sql]
|
[honeysql.core :as sql]
|
||||||
)
|
)
|
||||||
#?(:clj (:import [datascript.parser Pattern DefaultSrc Variable Constant Placeholder]))
|
#?(:clj (:import [datascript.parser Pattern DefaultSrc Variable Constant Placeholder]))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -207,10 +207,10 @@
|
||||||
(datomish.query/find->sql-string
|
(datomish.query/find->sql-string
|
||||||
(datomish.query/parse
|
(datomish.query/parse
|
||||||
'[:find ?timestampMicros ?page
|
'[:find ?timestampMicros ?page
|
||||||
:in $
|
:in $
|
||||||
:where
|
:where
|
||||||
[?page :page/starred true ?t]
|
[?page :page/starred true ?t]
|
||||||
[?t :db/txInstant ?timestampMicros]])))
|
[?t :db/txInstant ?timestampMicros]])))
|
||||||
|
|
||||||
(comment
|
(comment
|
||||||
(pattern->sql
|
(pattern->sql
|
||||||
|
|
Loading…
Reference in a new issue