Search and retrieve channels based on various criteria including display name, tags, membership status, and channel type
The getChannels function provides comprehensive search capabilities that allow you to find channels based on multiple criteria. With support for filtering by display name, tags, membership status, and channel types, you can quickly locate exactly the channels you need.
The query function returns a Live Collection of channels that match your search criteria, enabling you to display search results in your app or apply additional filtering as needed.
Including Tags: When multiple tags are specified, the system searches for channels that contain any of those tags (OR logic)
Excluding Tags: When multiple tags are specified, the system excludes channels that contain any of those tags (OR logic)
Combined Logic: You can use both including and excluding tags together for precise filtering
Tag filtering supports flexible search patterns. Including tags uses OR logic (channels with any specified tag), while excluding tags removes channels with any of the specified tags.
Filter by specific channel typesLimit search results to specific channel types based on your application needs.
Search Strategy: Combine multiple filter criteria for precise results. Use tag filtering for category-based searches, membership filters for user-specific queries, and channel types to focus on specific communication patterns.