What problem does it solve?
This Skill simplifies and standardizes data management operations (Create, Read, Update, Delete) for collections and globals within a QUESTPIE backend, ensuring type safety and consistency.
Core Features & Use Cases
- CRUD Operations: Provides
find, findOne, create, update, delete, count, updateMany, and deleteMany for collections.
- Global Operations: Supports
get and update for global data entities.
- Querying Capabilities: Enables complex filtering with various operators, sorting, pagination, and relation population.
- Context Management: Handles implicit context in handlers and explicit context in scripts/seeds.
- Client SDK Mirroring: Offers a consistent API for both server-side and client-side operations.
- Use Case: Automatically generate API endpoints for a 'products' collection, allowing users to list, view, create, update, and delete products with robust filtering and sorting options.
Quick Start
Use the questpie-core/crud-api skill to find all posts where the status is 'published' and order them by creation date in descending order.