This is the ObjectBox documentation for our Go API. We strive to provide you with the easiest and fastest solution to store and retrieve data.
{% hint style="warning" %} Pre 1.0 note: Until we hit 1.0, there still might be API changes. Please open a GitHub issue if you have ideas how to improve the API. {% endhint %}
Your feedback on ObjectBox and this documentation is very welcome. Use the "Was this page helpful?" smiley at the end of each page or send us your comments to contact[at]objectbox.io - thank you! :)
- New Query API
- Box and Query do not require manual closing anymore
- Support for renaming entities and their properties using UIDs
- Fixed wrong mapping for Go types (u)int and (u)int8. Luckily we noticed this very early: if you used those types in previous versions, please delete old database files.
- Transactions are now safely aborted in case of panics
- Changed file name of generated code, e.g. file endings for model is now ".obx.go"
- Foundation for all query conditions (final query API will come with the next version)
- Put(object) now assigns the new id to the object itself
Initial public release