You'll need some logic in here like we saw in the review for passing through offsets and limits to the AR query.