PHP Class Indatus\Ranger\ApiDatabase\QueryBuilding\Joins

Inheritance: extends ApiQueryBuilder
Show file Open project: indatus/ranger

Public Methods

Method Description
buildQueryFromParameters ( $builder, array $input ) We will 'join' any of the related records with the response.

Method Details

buildQueryFromParameters() public method

the join parameter array values should be a string in the format: {join_table}:{join_table.id_field}={another_table.another_id_field}
public buildQueryFromParameters ( $builder, array $input )
$input array