`cursors` returns the query's `next` and `prev` cursors.