The documentation tells a little about the “Allow Multiple” field option, but not what it’s good for. Any examples? I know it’s not searchable. Can you update a single value, or it’s always treated as a whole?
I did some experimentation:
mutation {
foobarUpdate(filter: {
id: "ck1s7iarq02ts01jy6qca4ow8"
}, data: {
multipleTest: ["one", "two"]
}) {
id
multipleTest
}
}
So I learned that GraphQL supports arrays. Can I ask how they are represented in the DB (in general, not implementation per se)?
I’m also interested to know the difference between JSON type field, and a text that you just convert with JSON.parse()? What is the character limit for JSON fields?