Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2023-11-30 (1 month ago) | | Not yet rated by the users | | Total: 80 This week: 1 | | All time: 10,044 This week: 108 |
|
Description | | Author |
This package can build queries to get data from related tables.
It provides classes with a fluent interface that has functions for adding related tables that will be joined and filter conditions to define the table records that will be returned when the resulting database query is executed.
The package also provides a function to execute the composed database query and return the query results. | |
|
|
Innovation award
Nominee: 15x |
|
Details
query-relation-manager
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
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.