Hi guys,
I need to retrieve id's from all users in database that are older then 30 days, every user has creation date.,
(let [conn (client/get-conn)
db (client/db)
last-month (t/minus (t/now) (t/month 1))
q '{:find [(pull ?eid [*])]
:where [[?eid :user/created]]}]
;;.............
)
I have last-month #inst date, I just dont know how to get all users "older" then 30 days.
I am new in datomic so,
if someone can help, thank you in advance...