LibWeb/IDB: Implement storing of index records

This commit is contained in:
stelar7
2025-05-13 23:06:42 +02:00
committed by Jelle Raaijmakers
parent c73b8d1fa0
commit 46ecf239c4
Notes: github-actions[bot] 2025-05-14 15:18:57 +00:00
3 changed files with 34 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ public:
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);
void store_a_record(IndexRecord const& record);
HTML::SerializationRecord referenced_value(IndexRecord const& index_record) const;