Fork me on GitHub
#datascript
<
2017-06-20
>
lvh14:06:34

Does pull syntax work with non-EAVT dbs?

danielstockton14:06:20

@lvh does such a thing exist? A db comprises of multiple indexes.

lvh14:06:56

You can totally just shove a bunch of vecs in a db and have datascript query it for you, yes

danielstockton14:06:58

I think it will leverage the EAVT index, whenever you use pull syntax.

lvh14:06:13

(no indices)

danielstockton14:06:48

I think it still works, albeit without the efficiency an index provides.

danielstockton14:06:15

I wouldn't really call that a database, it's just a vec of vecs (that you can still query with datalog).

lvh14:06:38

If pull works; what’s the entity identifier?

danielstockton14:06:15

The first item in the vector.

danielstockton14:06:26

You should try it, I'm not 100% sure.

danielstockton14:06:42

Afaik, it basically works by pattern matching.

danielstockton14:06:33

[e a v t added?]