typeorm-pagination icon indicating copy to clipboard operation
typeorm-pagination copied to clipboard

Can't call paginate()

Open bitols opened this issue 3 years ago • 4 comments

Hi! I can't call paginate() in createQueryBuilder() image

bitols avatar Dec 02 '21 13:12 bitols

same for me

berk2s avatar Jan 04 '22 18:01 berk2s

For me, it worked when I added the middleware right after calling the express() method

const app = express();
app.use(pagination);

I was having a similar problem of "paginate is not a function" when I was inserting the middleware after all the other ones.

pauloendoh avatar Jan 13 '22 11:01 pauloendoh

For me, it worked when I added the middleware right after calling the express() method

const app = express();
app.use(pagination);

I was having a similar problem of "paginate is not a function" when I was inserting the middleware after all the other ones.

Hi this is not working for me.. any ideas?

mrajnansky avatar Oct 12 '23 15:10 mrajnansky

Issue can be related to the typeorm version you are using at the moment it may work with typeorm version "typeorm": "^0.2.25",

rddev088 avatar Nov 22 '23 07:11 rddev088