{"version":"2.1.228","anchor":"history-counting-can-page-from-the-storage-backend","canonical_anchor":"history-counting-can-page-from-the-storage-backend","heading":"History counting can page from the storage backend","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.228\/e\/history-counting-can-page-from-the-storage-backend","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.228","markdown":"### History counting can page from the storage backend\n\nCommand-history matching can count entries by paging the storage layer, falling back to the old path.\n\n**What**\n\nWhen a storage backend is passed in, counting matching command-history entries pages records from it, handling both LF and CR-separated entries. It falls back to the previous counting path when no backend is available or the page budget runs out.\n\n**Evidence**\n\n`readRecords`\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}