我开始考虑将GreenDAO集成到我的应用中,但应用程序很大程度上依赖于这样的查询:
"SELECT c.Id, c.primary_name, case when c.alt_name in('','null',null) then c.primary_name else c.alt_name end alt_name,(select x.url from resource x where x.ref_id = c.id and flag ='value') url from table"
如何在GreenDAO中运行上述查询?