wandersoncferreira / mamulengo

Lightweight database based on datascript with durable store and time travel for Clojure(Script)
Eclipse Public License 2.0
51 stars 3 forks source link

Make query method with optional inputs parameters #12

Closed wandersoncferreira closed 4 years ago

wandersoncferreira commented 4 years ago

If no input parameter is necessary, so it must not be required.

wandersoncferreira commented 4 years ago

This was fixed and is already working. You can pass an old database that will be used in the query, as well as not sending any input parameter if not necessary.

(m/query! '[:find ?e
            :where [?e :test/name _])

is a valid expression.