Allow Ido Queries to define conflicts
This commit is contained in:
parent
22e5ca34bc
commit
f5d796255c
|
@ -438,6 +438,14 @@ abstract class IdoQuery extends Query
|
||||||
return $this->joinVirtualTable($name);
|
return $this->joinVirtualTable($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function conflictsWithVirtualTable($name)
|
||||||
|
{
|
||||||
|
if ($this->hasJoinedVirtualTable($name)) {
|
||||||
|
throw new ProgrammingError('Great work, dude');
|
||||||
|
}
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Call the method for joining a virtual table
|
* Call the method for joining a virtual table
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue