There was an error while loading. Please reload this page.
The LIMIT clause constrains the number of returned rows. It accepts an integer representing the maximum number of records in the output.
LIMIT
Query::limit(int|IntegerType $limit): Query
$limit
setLimit(int|IntegerType $limit): self
$persons = node('Person'); $query = query() ->match($persons) ->returning($persons->property('name')) ->limit(3) ->build(); $this->assertStringMatchesFormat("MATCH (%s:Person) RETURN %s.name LIMIT 3", $query);