Closed michellechsy closed 5 years ago
I couldn't reproduce this by just using select
, select(<raw query>)
, where
, and whereRaw
with my test data. Could you give me the exact query you use, or better yet, a repository with failing code.
Please try version 1.0.0-alpha.1
. The release includes a couple of fixes which might solve your issues.
@michellechsy are you still having issues?
Our query is complex, which includes joining several tables, and conditions may cover all the tables (depends on what user provides), which looks like:
Model.query().select(<table fields>).select(Model.knex().raw(
CASE WHEN xxxxxxxx)).where(xxx).whereRaw(
xxx).orderBy(xxxx)
remaining
in the result 'pageInfo' is incorrect either (1-10, 7-16, and then even i click go 'previous', it still goes to 26-36)