Skip to content
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

What if I want the left side to be an expression? #1119

Open
fengwuxp opened this issue Sep 24, 2024 · 2 comments
Open

What if I want the left side to be an expression? #1119

fengwuxp opened this issue Sep 24, 2024 · 2 comments

Comments

@fengwuxp
Copy link

Can the field on the left support an expression, such as: a + b - c?
If custom extension support is possible, how do I do it? Thank you

@ukrbublik
Copy link
Owner

There is an example of it in demo app:
https://ukrbublik.github.io/react-awesome-query-builder
Choose "Select source" - "Function", then "Linear regression".

LINEAR_REGRESSION: BasicFuncs.LINEAR_REGRESSION,

You can create own function similar to LINEAR_REGRESSION:

@fengwuxp
Copy link
Author

Thanks for your answer, I'll try it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants