Skip to content

Update filter syntax to use arrays instead of comma-separated strings#533

Merged
IrakliJani merged 1 commit intomainfrom
Update_filter_syntax_to_use_arrays_instead_of_comma-separated_strings
Apr 9, 2026
Merged

Update filter syntax to use arrays instead of comma-separated strings#533
IrakliJani merged 1 commit intomainfrom
Update_filter_syntax_to_use_arrays_instead_of_comma-separated_strings

Conversation

@IrakliJani
Copy link
Copy Markdown
Contributor

This pull request updates the documentation for filtering with multiple values in both metrics and tables. The changes replace the comma-separated string syntax with an array-based approach for specifying multiple filter values.

Key changes include:

  • Updated the metrics documentation to clarify that filtering with a list of values generates a SQL IN clause
  • Modified all examples in the tables documentation to use YAML arrays instead of comma-separated strings for multiple values (e.g., ["active", "pending", "approved"] instead of "active,pending,approved")
  • Added explanatory text about SQL IN clause generation for better understanding
  • Updated the filter operators table to reflect the new array syntax

The new syntax provides better YAML structure and makes the relationship to SQL IN clauses more explicit.

@mintlify
Copy link
Copy Markdown
Contributor

mintlify bot commented Apr 9, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lightdash 🟢 Ready View Preview Apr 9, 2026, 11:39 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

🤖 Documentation Bot

All checks passed! No issues found.

@IrakliJani IrakliJani marked this pull request as ready for review April 9, 2026 11:41
@IrakliJani IrakliJani merged commit 94c620c into main Apr 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant