I want to find page list and count with where condtion. but I don't know how to build a wherePart and reuse it in select(columns...) and select(count(*)). I want to build where condition by reflect. but reflection performance is poor. I don't want it to reflect twice.
I want to find page list and count with where condtion. but I don't know how to build a wherePart and reuse it in select(columns...) and select(count(*)). I want to build where condition by reflect. but reflection performance is poor. I don't want it to reflect twice.