mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-30 05:09:01 +00:00
LibWeb/IDB: Implement IDBIndex::count
This commit is contained in:
parent
b8bb8345a9
commit
852323009f
Notes:
github-actions[bot]
2025-05-14 15:19:13 +00:00
Author: https://github.com/stelar7
Commit: 852323009f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4727
Reviewed-by: https://github.com/gmta ✅
Reviewed-by: https://github.com/shannonbooth
7 changed files with 54 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue