# before_rowid · FT4 Rell API · Chromia Docs (concept)

> function before_ rowid(page_ cursor: text?): rowid? Returns the rowid of the last retrieved element, given the base64-encoded page_cursor . Useful to retri

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.utils/before_rowid/

FUNCTION

# before\_rowid

```signature
function before_rowid(page_cursor: text?): rowid?
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/utils/pagination.rell#lines-92)

Returns the rowid of the last retrieved element, given the base64-encoded `page_cursor`.

Useful to retrieve the rowid where the last query stopped, to start retrieving a new page
from there.

**Parameters**

* **page\_cursor** — the base64-encoded cursor

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.utils/before_rowid.html)Generated API reference, mirrored from the live docs
