Hi all
I am facing a problem about sub queries. Assuming, I have below code to get data form MySQL:
$grid->render_sql(
"SELECT distinct gf.id as id , `name` as entry, gf.description, version, gf.type,date, bug_count, bug_ids, g.totalruns, g.owner, status, comment, release_note FROM generator g,generator_family gf WHERE g.generator_family_id = gf.id AND gf.current_version_id = g.id AND (gf.name like '%%%' OR gf.description like '%%%' OR gf.id in (SELECT distinct generator_family_id FROM generator_category WHERE category like '%%%')) order by g.date desc" ,
"id",
"ids,packageinfo,description,entry,version,type,date,bug_count, totalruns,owner,status,comment,release_note");
As you see, I have used a sub-query my code. But it seems that DHTMLX has not supported sub-query? (hoping that my opinion is not correct ).
If I remove sub-query from my code, DHTMLX will work well.
Please help me !!!
Thanks so much