Skip to content

Added variables to data query #1470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added console to query.
  • Loading branch information
Imiss-U1025 committed Jan 25, 2025
commit 6f9ae4141e7f9c6b7b4a954e9fe448f48e6ced43
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export class ExecuteQueryAction extends ExecuteQueryTmpAction {
value: { unevaledValue: string }
}}>)
.filter(item => item.children.key.unevaledValue !== "" && item.children.value.unevaledValue !== "")
.map(item => ({[item.children.key.unevaledValue]: item.children.value.unevaledValue}));
.map(item => ({[item.children.key.unevaledValue]: item.children.value.unevaledValue}))
.reduce((acc, curr) => Object.assign(acc, curr), {});
console.log(result);
if (!queryName) {
return () => Promise.resolve();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ export const QueryGeneralPropertyView = (props: {
return options;
}, [editorState]);

console.log(children.variable)

return (
<QueryPropertyViewWrapper>
<QuerySectionWrapper>
Expand Down