What problem does it solve?
This Skill provides a comprehensive guide to using Aurora's QueryStatement, enabling developers to efficiently build complex database queries, filters, and pagination logic, thereby streamlining data retrieval operations.
Core Features & Use Cases
- Query Building: Construct sophisticated
WHERE clauses with various operators (logical, comparison, string, etc.).
- Data Shaping: Control which fields are returned (
attributes) and how relationships are loaded (include).
- Pagination & Sorting: Implement efficient data fetching with
limit, offset, and order.
- Use Case: When building a feature to search for products with specific criteria (e.g., price range, category, availability) and display them in a paginated list, this Skill guides you on structuring the
QueryStatement.
Quick Start
Use the aurora-criteria skill to build a QueryStatement to find all users created after January 1st, 2023, sorted by their creation date in descending order.