cannblw / knex-paginator

Simple paginator for Knex. It adds the .paginate() function to Knex's query builder.
15 stars 10 forks source link

Issue on Join table #5

Closed m-salamon closed 5 years ago

m-salamon commented 5 years ago

I found an interesting issue, happens only when isLengthAware = true, I tried joining on a table called items and when i tried doing a where clause i got an unknown column error. it only happens when i join that specific table. hmmm

cannblw commented 5 years ago

I merged @xausky's pull request. It should be working now.

m-salamon commented 5 years ago

@cannblw thanks!