Skip to main content

Limit

The first N rows.

Syntax​

{ "id": "n1", "op": "limit", "name": "limit", "x": 0, "y": 0, "params": {} }

An edge into it ends at "targetPort": "in"; one out of it starts at "sourcePort": "out"; a parameter is set in params (leave out the ones at their default), driven by an edge to par:count, or read elsewhere as ch('limit/count').

Inputs​

PortTypeTakes
intableone edge

Parameters​

ParameterKindDefaultChoices
countint1000
offsetint0

Outputs​

PortType
outtable

Details​

  • Category: Tables
  • Operator: limit

Older projects​

Projects saved before documents used operator classes. These convert to limit when they open: SliceOp.