What problem does it solve?
This Skill addresses the complexity and boilerplate code often associated with database interactions in web applications, providing a streamlined and efficient ORM solution.
Core Features & Use Cases
- Active Record Pattern: Simplifies CRUD operations by allowing model instances to perform database actions directly.
- Automated Field Management: Automatically includes common fields like
id, name, timestamps, and soft-delete flags.
- Efficient Querying: Supports chainable queries, pagination, and bulk operations.
- Transaction Management: Integrates with decorators for robust transaction handling.
- Use Case: When defining new database models or performing standard create, read, update, or delete operations, this Skill ensures adherence to YWeb's ORM best practices and leverages its powerful features.
Quick Start
Refer to the YWeb ORM documentation for detailed usage of models, queries, and transactions.