smoren/query-relation-manager
Composer 安装命令:
composer require smoren/query-relation-manager
包简介
Class for building queries and making result array with relations (single and multiple)
README 文档
README
Implements the functionality of getting tree data from a database with one-to-one and one-to-many relationships using only one select-query to the database with flexible conditions configuration.
QueryRelationManager can be integrated with any ORM system based on PHP and potentially compatible with any relational DBMS.
Current package includes an example of integration with raw PDO without ORM.
Also there is an implementation for ActiveRecord as extension for Yii2.
How to install to your project
composer require smoren/query-relation-manager
统计信息
- 总下载量: 384
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 3
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-08-28