Open I-Leonov opened 6 years ago
There is certainly room for improvement in EntityFacade.sqlFind(). With enhancements to view entities and such it just isn't used much, in fact I have yet to use it once nor worked on any development or developer support contracts where it was used. There aren't even any test cases for it. Basically it's old and neglected.
If you want to see this improved your best bet is to submit Spock tests that can run with the existing framework tests, and using the same test entities and such used elsewhere. A pull request with proposed changes would also improve chances of something happening with this (ie that I or another contributor would work on it including development, review, testing, etc).
BTW, issues should be submitted on the new HiveMind instance on moqui.org. I haven't turned off issues on GitHub for moqui-framework yet but will sooner or later. See more information at:
https://www.moqui.org/m/docs/moqui/Issue+and+Pull+Request+Guide
We're trying to migrate our code from moqui 1.6 to 2.1
We have complex SQL queries that were executed via sqlFind() method. I see that in 1.6.2 version the method was changed - now it requires that sqlParameterList and fieldList must not be null and must be the same size.
We have following scenarios:
How can we handle this in moqui v2.1?