Repository 最佳实践
使用说明
重要: Repository 入口使用 PascalCase singleton;跨表写入必须由 Operation 包裹在同一个 db.transaction() 中,数据库依赖下沉到 Operation/helpers
Must follow when 创建或重构 Repository 层,确保数据访问模式、方法命名、返回类型和接口定义符合项目规范。
Browse the full folder contents for forge_repository-best-practice.
Loading file tree…
Skill Metadata
重要: Repository 入口使用 PascalCase singleton;跨表写入必须由 Operation 包裹在同一个 db.transaction() 中,数据库依赖下沉到 Operation/helpers