Skip to content

Implement cursor based pagination #163

@bakura10

Description

@bakura10

While working on Stripe API a lot, they have implemented a type of pagination I was unaware of: cursor based pagination. The idea is that normal pagination (using limit, offset...) is unreliable because if new records are insreted while you paginate, you may miss records.

Cursor based assume that you pass the last id of the records, so that pagiantion continue just after this record.

I'm not sure if that can be implemented easily in ZfrRest but that would be a nice addition :p.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions