Hi All,
So RealmDB is very type specific
-
Is there a way in the schema to define an either or type
(a) I have a field that could be either double or int, however it appears I can only have bsonType: double OR bsonType int Thereis reference in the docs to a bsonType: ["double, “int”] but then it complains the schema is invalid with Sync.?
(b) similarly having a bsontype object, optional true, does not allow for null so can one have bsontype [object, null], again doing so Sync says it’s invalid ? -
[Run Valiation] only tests against the first 1,000 records. How can I run validation against the entire collection 178,000 records. I have tried upping the value to 4000 and then get a timeout error?
-
I have a field where the key:value, key is a unique variable string , value always an integer
so something:
userLogins: [
name: 1,
nameB, 8,
nameC: 12
]
How does one write the schema for a variable key?
Thanks in advance