Cách sử dụng skip()
và limit()
trong thiên thạch?Làm thế nào để sử dụng mongodb skip() và limit() trong thiên thạch?
Post.find({"user_id":user_id}).skip(0).limit(5);
khi tôi thực hiện trên máy chủ dòng nói
Exception while invoking method 'Userpost' TypeError: Object [object Object] has no method 'skip'
@chridam cảm ơn nó hoạt động :) –