Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2022 11:52 PM
I want to get only 10 updated records from a table
Solved! Go to Solution.
Labels:
- Labels:
-
Customer Service Management
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2022 11:54 PM
Hi,
We can use setLimit() method
Example:
var gr = new Gliderecord('table_name');
gr.orderByDesc('sys_updated_on');
gr.setLimit(10);
gr.query();
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2022 11:54 PM
Hi,
We can use setLimit() method
Example:
var gr = new Gliderecord('table_name');
gr.orderByDesc('sys_updated_on');
gr.setLimit(10);
gr.query();