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
|
||||
(:require
|
||||
[datomish.util :as util :refer [raise var->sql-var]]
|
||||
[datomish.transforms :as transforms]
|
||||
[datascript.parser :as dp
|
||||
#?@(:cljs [:refer [Pattern DefaultSrc Variable Constant Placeholder]])]
|
||||
[clojure.string :as str]
|
||||
[honeysql.core :as sql]
|
||||
)
|
||||
[datomish.util :as util :refer [raise var->sql-var]]
|
||||
[datomish.transforms :as transforms]
|
||||
[datascript.parser :as dp
|
||||
#?@(:cljs [:refer [Pattern DefaultSrc Variable Constant Placeholder]])]
|
||||
[clojure.string :as str]
|
||||
[honeysql.core :as sql]
|
||||
)
|
||||
#?(:clj (:import [datascript.parser Pattern DefaultSrc Variable Constant Placeholder]))
|
||||
)
|
||||
|
||||
|
@ -207,10 +207,10 @@
|
|||
(datomish.query/find->sql-string
|
||||
(datomish.query/parse
|
||||
'[:find ?timestampMicros ?page
|
||||
:in $
|
||||
:where
|
||||
[?page :page/starred true ?t]
|
||||
[?t :db/txInstant ?timestampMicros]])))
|
||||
:in $
|
||||
:where
|
||||
[?page :page/starred true ?t]
|
||||
[?t :db/txInstant ?timestampMicros]])))
|
||||
|
||||
(comment
|
||||
(pattern->sql
|
||||
|
|
Loading…
Reference in a new issue