Connection.Limit (gb.db2)

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(...)