Open
Description
Is your feature request related to a problem? Please describe.
Would like to have a way to pass dynamic parameters to a query
Describe the solution you'd like
On "where" and possibly "has", along with a getcell function pass along a getvalue function that will return a reactive value from the store. Would allow something like this:
queries.setQueryDefinition("filtered_items", "items", ({ select, where }) => {
select("name");
where((getcell, getvalue) => getcell("name").includes(getvalue("filter_string")));
});
then if you run:
store.setValue("filter_string", "test")
would cause the query to update with the new value. Reactive dynamic queries.
Metadata
Metadata
Assignees
Labels
No labels