git » hoplite.git » commit dbd6c7d

eav

author Alan Dipert
2021-05-29 06:10:19 UTC
committer Alan Dipert
2021-05-29 06:10:19 UTC
parent a33348bafff2e9a01b0525f09de7eee7b81cb26a

eav

todo.mjs +3 -3

diff --git a/todo.mjs b/todo.mjs
index e547a7e..7b54ffb 100644
--- a/todo.mjs
+++ b/todo.mjs
@@ -14,11 +14,11 @@ let todos = database([
 let showStatus = input(ANY.VALUE);
 
 let visibleTodos = view({
-  find: [_.eid, _.attr, _.val],
+  find: [_.e, _.a, _.v],
   use: [_.status],
   where: [
-    [_.eid, "status", _.status],
-    [_.eid, _.attr, _.val]
+    [_.e, "status", _.status],
+    [_.e, _.a, _.v]
   ]
 })(todos, showStatus);