07-17-2017, 11:06 AM
QueryGenerator class is a very powerful query abstraction capable of generating very complex SQL for any module in the system.
At a very high level it is:
- instantiate against a module
- indicate the fields you want
- indicate the conditons
- ask for the SQL
Look at the unit test for some examples:
https://github.com/tsolucio/coreBOSTests...orTest.php
At a very high level it is:
- instantiate against a module
- indicate the fields you want
- indicate the conditons
- ask for the SQL
Look at the unit test for some examples:
https://github.com/tsolucio/coreBOSTests...orTest.php
Joe
TSolucio
TSolucio