-
Type: Task
-
Resolution: Done
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
sing RealmDB following code is listed below
const object = [{id="1"}, {id="2"}, {id="3"}, {id="4"}]; const data = await RealmDB.add(Student_SCHEMAS.student_DATA, object); Student Schema as shown below: StudentData = { name = "student", primaryKey = "id", properties: { id:'int' }, };
Error: Array must contain values for all object properties and data are not inserted.
Object size is currently 15MB, so what is the way to add data in Realm with this type of objects.
Anything I need to change in schema.
Please suggest, thank you