March 2017
Beginner
358 pages
9h 51m
English
The setLimit() method of the GlideRecord class takes one argument: a number corresponding to the maximum number of records that should be returned from the database. This can be used to limit potential performance implications of a large query, or by combining it with orderBy() or orderByDesc(), I can further extend the usefulness of this method.
setLimit() accepts one argument - an integer indicating the maximum number of records to return from the GlideRecord query. It does not return a value.
Read now
Unlock full access