angular-query-builder
angular-query-builder copied to clipboard
Reverse Query building
Hello, i am working with your library, it's really good, thank you! But, maybe, you already have a solution to build ui based on query string(in purpose to edit already existing query)? For example we have query string (User = 'username' AND (User <> 'username1' OR User = 'username2')), and ui build groups and conditionals based on this string?
@Lefortov have you found anything that can help on this? :D
I've been working on a way to reverse this. It's still lacking some functionalities I don't need on my own development, but I think I can point those interested on this on the right direction.
That would be a great help, if you could please post a fiddle or so....basically I am trying to 'Edit' a saved query built, so kind of need reverse conversation.
Thank you very much
On Thu, Jul 28, 2016 at 7:25 PM, Mauricio Navarro Miranda < [email protected]> wrote:
I've been working on a way to reverse this. It's still lacking some functionalities I don't need on my own development, but I think I can point those interested on this on the right direction.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mfauveau/angular-query-builder/issues/8#issuecomment-236054373, or mute the thread https://github.com/notifications/unsubscribe-auth/AIyt7BuyttqBYHkDRpYtLeurStMGr1Ynks5qaTpegaJpZM4Hw3jR .
Sure I'll do! I think monday or thursday I'll commit what I am working on. I think I am one step away to successful reverse query edit. At this point, I'm solving corner cases.
I'll post back soon. :)
@garima287, @Lefortov good news! Here is what I am working on: https://github.com/mautematico/angular-query-builder/tree/two-way-angular-query-builder
Here you can see a live demo of it: https://mautematico.github.io/angular-query-builder/
As I said before, its still lacking somethings (like exception handling), as this is still a work in progress. PRs welcome!
¡Saludos!
Thanks !!
On Aug 2, 2016 2:31 PM, "Mauricio Navarro Miranda" [email protected] wrote:
@garima287 https://github.com/garima287, @Lefortov https://github.com/Lefortov good news! Here is what I am working on:
https://github.com/mautematico/angular-query-builder/tree/two-way-angular-query-builder
Here you can see a live demo of it: https://mautematico.github.io/angular-query-builder/
As I said before, its still lacking somethings (like exception handle), as this is still a work in progress. PRs welcome!
¡Saludos!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mfauveau/angular-query-builder/issues/8#issuecomment-236998202, or mute the thread https://github.com/notifications/unsubscribe-auth/AIyt7McWP1eHPk6LzaaS6FzEYZqfzcVMks5qb40UgaJpZM4Hw3jR .
@Lefortov @garima287 @mfauveau .. Were you guys able to make the complete parser? The above solution flattens the nested group