In short typeorm has a really nice method specific to this usecase findAndCount. ... take: take, skip: skip } ); return { data: result, count: total } }.
確定! 回上一頁