ObjectBox C/C++ database v0.5.0 Release Notes
Release Date: 2019-02-21 // about 5 years ago-
โ Additions
- ๐ unsigned support for numeric types using
OBXPropertyFlags_UNSIGNED
- ๐ string vector support (FlatBuffers
[string]
) qb_strings_contain()
checks whether a string vector contains a given stringremove_db_files()
removes the database in the given directorysupports_bytes_array()
provides info if you can use functions to get whole data sets at oncemodel_relation()
to define standalone many-to-many relations between two entitiescursor_rel_put()
,remove()
,ids()
to add, remove & get standalone relations- ๐
qb_link_property()
,qb_backlink_property()
to query across property based (to-one) relation links - ๐
qb_link_standalone()
,qb_backlink_standalone()
to query across standalone many-to-many relation links cursor_put_padded()
in case your FlatBuffers data is not divisible by 4- ๐
cursor_seek()
to point to the the element with given id (and also check if that element exists) corsor_current()
to get the data of the current element (similar tocursor_first()
,next()
)query_visit()
to traverse over the query results and call the provided callback on each item
๐ Changes:
- prefix defined constants (enums) with OBX
model_*
functions now always return the first error (as it may be the cause of other follow-up errors as well)box_put_async()
now takes timeout in milliseconds (previously it was a fixed number)query_find()
& query_find_ids() now also take offset & limit as arguments (pass 0s for previous behavior)- renamed
qb_parameter_alias()
toqb_param_alias()
- renamed
query_describe_parameters()
toquery_describe_params()
- renamed
query_to_string()
toquery_describe()
query_*_param()
andquery_*_params_in()
now takeentity_id
as an argument (you can pass 0 for queries without relation links)
- ๐ unsigned support for numeric types using