Use object store
This commit is contained in:
parent
367133c53e
commit
965e997d8e
|
@ -1183,8 +1183,7 @@ void RealmClass<T>::compute_size(ContextType ctx, ObjectType this_object, Argume
|
|||
args.validate_maximum(0);
|
||||
|
||||
SharedRealm realm = *get_internal<T, RealmClass<T>>(this_object);
|
||||
auto size = realm->read_group().compute_aggregated_byte_size();
|
||||
return_value.set(Value::from_number(ctx, size));
|
||||
return_value.set(Value::from_number(ctx, realm->compute_size()));
|
||||
}
|
||||
|
||||
} // js
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 0bcb9643b8fb14323df697999b79c4a5341a8a21
|
||||
Subproject commit c12c750ecef2ba198d20ff073df05dfa2f750102
|
Loading…
Reference in New Issue