bknd-query-filter

Builds dynamic BKND query filters with operators and logical groupings.

1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/cameronapak/melos --skill bknd-query-filter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bknd-query-filter
Source: https://github.com/cameronapak/melos/tree/main/.agents/skills/bknd-query-filter
Command: npx skills add https://github.com/cameronapak/melos --skill bknd-query-filter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables building complex, dynamic query filters for BKND data operations, empowering developers to express advanced criteria succinctly and correctly.

Core Features & Use Cases

  • Operator coverage: supports all filter operators ($eq, $ne, $gt, $lt, $like, $ilike, $in, $nin, $isnull, $between) for precise comparisons.
  • Logical grouping: supports $or and $and combinations for complex decision trees, including cross-entity joins.
  • Dynamic query building: enables programmatic construction of WHERE clauses and join-based filters for data-rich applications.

Quick Start

Example: build a filter to retrieve posts with status 'published' and category 'news' using a join on author.

Frequently Asked Questions about bknd-query-filter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build dynamic query filters with multiple operators in BKND?

Dynamic query filters in BKND are built using operators like $eq, $ne, $gt, $lt, $like, $ilike, $in, $nin, $isnull, and $between to construct precise comparison conditions for data operations. Logical groupings with $and and $or allow composing complex WHERE clauses.

Can I combine AND and OR conditions when filtering related fields via joins in BKND?

Yes, combining AND and OR conditions for joined entities is supported in BKND. You can group criteria using $and and $or operators to create complex decision trees, enabling cross-entity joins to filter records by related fields across multiple connected collections.

What is the best way to use $like and $ilike operators for pattern matching in BKND queries?

The $like and $ilike operators in BKND queries enable pattern matching for string values, with $ilike providing case-insensitive matching. These operators are applied within filter objects to retrieve records where specific fields match desired textual patterns.

Does BKND support filtering by a list of values or checking for null fields?

BKND supports filtering by value lists using the $in and $nin operators, and checks for null fields using the $isnull operator. This allows queries to include or exclude records matching any value within a specified array or identify missing data.

How do I filter records within a specific range using BKND query operators?

To filter records within a specific range in BKND, use the $between operator. This operator allows queries to match values that fall inside a defined minimum and maximum boundary, useful for numerical or date-based data retrieval.

Why are my dynamic readMany queries not returning expected results with complex filters?

Complex dynamic readMany queries may fail if filter operators are incorrectly nested or if logical groupings like $and and $or are improperly structured. Ensure all operator conditions and joined entity filters are correctly composed within the WHERE clause.