Skip to content

Implement table aliasing and extent the builder to have multiple…#110

Open
MDaskalovAtBE wants to merge 2 commits intonilportugues:masterfrom
MDaskalovAtBE:feature/table-aliases
Open

Implement table aliasing and extent the builder to have multiple…#110
MDaskalovAtBE wants to merge 2 commits intonilportugues:masterfrom
MDaskalovAtBE:feature/table-aliases

Conversation

@MDaskalovAtBE
Copy link

…joins with the same table name but different aliases

…s with the same table name but different aliases
public function setTable($table)
{
$this->table = (string) $table;
if ( ! (is_object($table) && is_a($table, Table::class))) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected 0 spaces after opening bracket; 1 found

$joinType = null
) {
if (!isset($this->joins[$table])) {
if ( !(is_object($table) && is_a($table, Table::class))) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected 0 spaces after opening bracket; 1 found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments