An unstructured filter representation encodes filtering criteria as a string whose syntax the API server interprets. It keeps the API familiar to users and avoids forcing them to learn a custom filter structure. section 22.3.1
Prefer a string field when filter requirements may evolve. Custom structured interfaces tend to create brittleness and a steeper learning curve without clear benefits over serialized strings. section 22.3.1
ChatRoom filtering
A ChatRoom filter can use a SQL-like expression such as `title = "New Chat!"`; a structured alternative represents the same criterion as `{ title: "New Chat!" }`. section 22.3.1
Table 22.1 SQL string queries versus MongoDB filter structures (view table figure)
Compare equivalent equality, comparison, conjunction, membership, disjunction, and grouped filters across string queries and structured filters. section 22.3.1
