objectbox / objectbox-swift

Swift database - fast, simple and lightweight (iOS, macOS)
https://swift.objectbox.io
Apache License 2.0
467 stars 30 forks source link

Retrieve store from Box object #64

Open Burtan opened 2 years ago

Burtan commented 2 years ago

In ObjectBox for java you can retrieve the store from an Box object to easily start transactions. In swift this field is not available so you have to keep a store reference around to make transactions.

Describe the solution you'd like Add a store reference to Box objects like in java.

greenrobot-team commented 2 years ago

Thanks for the suggestion!