Fork me on GitHub
#datascript
<
2022-12-22
>
Aron02:12:41

is there a schema that can tolerate same attribute with different cardinalities? it's in the same entity 😐

Niki12:12:14

Well you can store only one value in many cardinality :)

Aron13:12:29

Nah, I already knew what I am asking makes no sense, but I had to. Trying to parse jsons so I can query them and wouldn't you know, there is a lot of attributes that sometimes are strings, other times objects or arrays... I ended up replacing the strings to nulls or empty arrays in the end, easier than trying to describe this silliness