Nette Database & Explorer

•
29
•

Optimizes Claude's ability to write Nette Database queries, design typed entities, and manage schemas using MySQL 8.4+.

The Nette Database skill empowers Claude to architect and implement robust database layers following Nette's best practices. It provides structured guidance on using the Explorer API for zero-configuration entity mapping, designing flat entity structures with the 'Row' suffix, and utilizing the Selection API for efficient query building. Whether you are navigating complex relationships with colon notation or implementing raw SQL for performance-critical analytics, this skill ensures your database interactions are type-safe, maintainable, and idiomatic to the Nette ecosystem.

Características Principales

01Optimized query building using Nette Selection API and colon notation for joins
02Decision logic for choosing between Explorer API and raw SQL for complex analytics
03Automated entity mapping and ActiveRow documentation patterns for IDE support
04Schema management strategies using direct SQL migrations and database constraints
05Standardized database conventions including singular naming and specific MySQL encodings
0629 GitHub stars

Casos de Uso

01Generating typed entity classes from database schemas with proper phpDoc relationships
02Constructing complex filtered queries using progressive refinement and reusable base methods
03Implementing service-level error handling to transform database constraints into business exceptions