subgrounds icon indicating copy to clipboard operation
subgrounds copied to clipboard

Shorthand to query all entities

Open 0xMochan opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

Description

Create a special value ALL that can be used as the first argument in list queries to fetch all entities.

Describe the solution you'd like

Example

swaps = uniswapV2.Query.swaps(
  orderBy=uniswapV2.Swap.timestamp,
  orderDirection='desc',
  first=ALL
)

Originally from: cvauclair

0xMochan avatar Mar 03 '23 22:03 0xMochan