limitΒΆ
You can use limit
clauses with the following queries:
Rather than returning all of the matching results, it will only return the number you ask for.
await Band.select().limit(2)
Likewise, with objects:
await Band.objects().limit(2)
Styled using the Piccolo Theme