In the queryclass is missing some addJoin function
To make some performance improvements it is necessary to add Joins individual to the parameters that are given.
example:
class GuestGenerator_
{
protected $sql = "
SELECT
gg.*
FROM
_db_
LEFT JOIN _db_GuestGenera
LEFT JOIN _db_core_
";
protected $where = "";
protected $groupby = "gg.guest_
public function extraBuild(
if (isset(
$this-
}
if (isset(
$this-
// the JOINS only needed when the user-id is given
// otherwise it does not need the JOINS
// it can be something like this, to add the Joins:
// $this->
// $this->
}
return parent:
}
}
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Greg
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by