limit

Sets or updates the LIMIT clause of a query

q.limit(25, 100); // LIMIT ? OFFSET ? – pre-set: limit=25,offset=100

q.limit(false); // LIMIT ? – set values later q.limit(true); // LIMIT ? OFFSET ? – set values later

  1. Query limit(Query q)
  2. Query limit(Query q, ulong limit)
  3. Query limit(Query q, ulong limit, ulong offset)
    @safe pure
    limit
    (,
    ulong limit
    ,
    ulong offset
    )

Meta