how to Pagination when i use mongodb/query

if use yii\mongodb\ActiveRecord ,i can use Pagination ;

now i use mongodb/query ,what should i do ?

Use it like you normally would use it with query.