LibWeb/IDB: Implement IDBIndex::count

This commit is contained in:
stelar7 2025-05-13 22:54:08 +02:00 committed by Jelle Raaijmakers
commit 852323009f
Notes: github-actions[bot] 2025-05-14 15:19:13 +00:00
7 changed files with 54 additions and 4 deletions

View file

@ -43,6 +43,7 @@ public:
void clear_records();
Optional<IndexRecord&> first_in_range(GC::Ref<IDBKeyRange> range);
GC::ConservativeVector<IndexRecord> first_n_in_range(GC::Ref<IDBKeyRange> range, Optional<WebIDL::UnsignedLong> count);
u64 count_records_in_range(GC::Ref<IDBKeyRange> range);
HTML::SerializationRecord referenced_value(IndexRecord const& index_record) const;