I'm trying to structure schema for a document database. I'm using Google Cloud Firestore. I want my data to be queried easily and quickly, so I'm keeping the structure shallow or flat. Will queries run faster querying for booleans or strings.
{ side: 'left' } //string
Which one is faster to query?
{ left: true } //boolean