Thanks to encouragement from Chris I want to continue on the Firebase path 
and investigate the pros/cons of storing datoms instead of entities.

I am thinking the schema will be:

{tx:   {x1: {user: u1
             t: epoch}} 
 eavt: {e1: {e: 1
             a: age
             v: 40
             tx: x1}

With indexes on e, a, v, and tx

I think I understand how to do most queries against that manually, but what 
I want to explore is if there is some way to translate a datalog query into 
the required Firebase queries... and whether I can answer all the kinds of 
questions I want to ask...

Like:
Get me all the entities that I created that have a "drawing" attribute.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to