mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-12 07:14:23 +00:00
Revert "Use object store"
This reverts commit 965e997d8e4a4b83ab271842c6d5ed7490257111.
This commit is contained in:
parent
1d6e213682
commit
bd45d6f0bf
@ -1183,7 +1183,8 @@ void RealmClass<T>::compute_size(ContextType ctx, ObjectType this_object, Argume
|
||||
args.validate_maximum(0);
|
||||
|
||||
SharedRealm realm = *get_internal<T, RealmClass<T>>(this_object);
|
||||
return_value.set(Value::from_number(ctx, realm->compute_size()));
|
||||
auto size = realm->read_group().compute_aggregated_byte_size();
|
||||
return_value.set(Value::from_number(ctx, size));
|
||||
}
|
||||
|
||||
} // js
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit c12c750ecef2ba198d20ff073df05dfa2f750102
|
||||
Subproject commit 0bcb9643b8fb14323df697999b79c4a5341a8a21
|
Loading…
x
Reference in New Issue
Block a user