Fork me on GitHub
#datomic
<
2016-10-21
>
Matt Butler11:10:08

Hi again 🙂

(d/q '[:find ?e
         :where
         [?e :likes ?i]
         [(< (count ?i) 5]] db))
:likes is a cardinality many ref, is there a way for me to filter/use in query clauses the number of ?i entities an ?e has.

val_waeselynck12:10:07

@mbutler you'll have to use 2 queries for that

jonpither13:10:17

Hi - using Cloud Formation Templates to setup in AWS

jonpither13:10:39

I've done it successfully with 2 other transactors, but for this new one I'm seeing this in the system logs: user-data: ./startup.sh: line 26: kill: (1886) - No such process /dev/fd/11: line 1: /sbin/plymouthd: No such file or directory

matthavener22:10:08

is it possible to restore a datomic backup to a memory database? or will I have to start a local dev transactor, etc?

marshall22:10:06

You can't restore into mem