angular-ex / ngx-condition-builder

Angular condition builder
https://angular-ex.github.io/ngx-condition-builder/
MIT License
2 stars 5 forks source link

Building a complete expression string #1

Open Vislesha opened 9 months ago

Vislesha commented 9 months ago

Hi,

This is a very useful library for one of the scenario in our application!

Wondering if there's a way to build out a complete expression with all rules/rule sets into a single expression string? For example, this expression string can be used as it is in a where condition of an SQL statement.

Thanks in advance!

panoti commented 9 months ago

Hi @Vislesha, I still not get your point. Does It mean you want to export to expression string after users use this component to build their condition?

Vislesha commented 9 months ago

Hi Panoti, Thats correct! I want to display the generated conditional string for easier understanding of the user and also the same can be passed to a dynamically created SQL string as the WHERE clause. However, i came across a simple solution for my question after I posted it here Thank you!