Fork me on GitHub
#membrane
<
2022-09-24
>
Ben Sless16:09:19

Looking at the datascript example, it seems centered around pull. How feasible would it be to create "where" views, instead of just pulls?

phronmophobic17:09:27

Seems plausible. Is there any pull query that couldn't be expressed as a "where" view?

phronmophobic17:09:35

I guess I'm not totally sure what a "where" view is. Is that just using d/q rather than d/pull?

phronmophobic17:09:51

I think it should be possible either way.

Ben Sless17:09:43

yes, but specifically the :where part of the query, where you do the joins

phronmophobic17:09:48

Is the question whether or not datalog "where" views are expressive enough to get the required data or whether or not you can pass the necessary data to a membrane component and have it work?

phronmophobic17:09:01

On the membrane side, it shouldn't matter where the data comes from or where it's going. With respect to the expressiveness of datascript "where" views, I'm not an expert. Whats the focus on just the "where" part rather than the full datalog query?

Ben Sless18:09:10

I'm not sure and I'm too tired to think clearly, I'll try to apply my noggin to it tomorrow

👍 1