Open ottolewis8 opened 1 year ago
The C++ docs are sparse, how do you make a one to many relationship? I get error: parentid: unsupported vector element type: ULong Looking at: https://github.com/objectbox/objectbox-generator/blob/main/test/comparison/testdata/fbs/typeful/schema.fbs only string and byte are supported? ` table Slot { /// objectbox:id id : ulong;
defaultlinkoffset : int32;
/// objectbox:relation=Device parentid : [ulong;] // Does not work } table Device { /// objectbox:id id : ulong; hid : string; } `
A 1:N relationship needs an ID (not a vector of IDs) at the "1" side of 1:N.
Thanks that can work are there any plans to support vectors of int32/64 as only byte, ubyte and string are supported for C++?
The C++ docs are sparse, how do you make a one to many relationship? I get error: parentid: unsupported vector element type: ULong Looking at: https://github.com/objectbox/objectbox-generator/blob/main/test/comparison/testdata/fbs/typeful/schema.fbs only string and byte are supported? ` table Slot { /// objectbox:id id : ulong;
defaultlinkoffset : int32;
/// objectbox:relation=Device parentid : [ulong;] // Does not work } table Device { /// objectbox:id id : ulong; hid : string; } `