comp • gb.db • _connection • limit

Connection.Limit (gb.db)

Function Limit ( Limit As Integer ) As Connection

Limits the number of records returned by the next query.

After the query is executed, the number of returned records is reset to unlimited.

This method returns the connection it applies to, so that you can write something like: DB.Limit(X).Exec(...)