You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Datalog queries require a :where clause to specify what data to retrieve. A query like :find ?e ?a ?v without :where has no binding mechanism — there's no way to know what data to return.
The error message has been improved to be more helpful:
query has no :where clause, rules, or aggregates — nothing binds the variables.
Add a :where clause (e.g., [:find ?e ?a ?v :where [?e ?a ?v]]) or use an aggregate.
If you want all facts, you can use the Rust API: db.get_all_facts()
Activity
adityamukho commentedon Apr 6, 2026
This is by design, not a bug.
Datalog queries require a :where clause to specify what data to retrieve. A query like
:find ?e ?a ?vwithout :where has no binding mechanism — there's no way to know what data to return.The error message has been improved to be more helpful:
If you want all facts, you can use the Rust API:
db.get_all_facts()