You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support filtering on nested JSON fields (object sub-properties and array elements) in MongoDB collections #2315
When TablePro is connected to a MongoDB collection, some fields may be JSON objects (e.g. {"name": "John", "age": 30}) or arrays of JSON objects (e.g. [{"id": 1, "status": "active"}, ...]).
Currently these fields can only be viewed as a whole raw JSON value, and there is no way to query their inner structure. It would be very useful to support:
Querying sub-properties of a JSON object field — e.g. filter records by customer.country == "US".
Filtering on sub-properties of objects inside a JSON array — e.g. find records where any element in items matches a condition like status == "active".
Example:
Consider a MongoDB collection orders with documents like:
In the filter/query builder, allow drilling down into JSON object fields using dot notation (e.g. customer.country).
For array fields, support both "match any element" (dot notation) and "match one element satisfying multiple conditions" ($elemMatch).
Optionally, render nested object fields as expandable columns in the table view.
Additional notes:
Nested paths with dot notation should be handled gracefully (field names containing dots are a known edge case in MongoDB).
Please consider how nested fields should appear in the column list / filter dropdown UI.
Activity