Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Ranged pagination #16

@cvauclair

Description

@cvauclair

Description

Subgrounds should be able to paginate based on a condition (e.g.: get all Uniswap V2 swaps between time t0 and time t1, get all Aave V2 USDC borrows larger than amount).

Example

The following subgrounds fieldpath implies the use of pagination even though no first argument is present

swaps = uniswapV2.Query.swaps(
  orderBy=uniswapV2.Swap.timestamp,
  orderDirection='desc',
  where=[
    uniswapV2.Swap.timestamp >= 1641013200
  ]
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions