Fork me on GitHub
#datascript
<
2017-01-17
>
jrychter11:01:27

Well, I got to the point where I could really use server-side DataScript. I started implementing reports generated as PDFs and suddenly the data I expected wasn't there — I am spoiled by how easy this is on the client side.

joost-diepenmaat12:01:13

datascript works on JVM/Clojure as well, so...

jrychter15:01:54

It does? I thought it wasn't ready yet! Anyway — I thought about this and decided it's actually better to generate everything on the client side and just ship the completed clj-pdf data structure to the server for final rendering.

Niki19:01:14

But yes, it works just fine, officially supported on both clj and cljs

mruzekw23:01:48

I’m working with Datascript in a Clojure project and I’m trying to query datoms in between two dates. I’m also using clj-time for the date/times. It gives me the following error:

Caused by: clojure.lang.ExceptionInfo: Unknown predicate 't/before? in [(t/before? ?dt ?end)] {:error :query/where, :form [(t/before? ?dt ?end)], :var t/before?}

mruzekw23:01:56

Any idea what’s going on?