Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 05:46 AM
You can use _rowCount before _results to output the number of records that will be returned.
Ex.
query cmdb_ci($pageSize: Int! = 100, $offset: Int! = 0, $queryConditions: String! = "") {
GlideRecord_Query {
cmdb_ci(pagination: {limit: $pageSize, offset: $offset}, queryConditions: $queryConditions) {
_rowCount _results {
sys_id {
value
}
}
}
}
}