Merge pull request #399 from kbanman/develop

Fix raw table expressions
This commit is contained in:
Taylor Otwell 2012-03-12 08:30:22 -07:00
commit d862a5181a
1 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,11 @@ public function __construct(Connection $connection)
*/ */
public function wrap_table($table) public function wrap_table($table)
{ {
if ($table instanceof Expression)
{
return $this->wrap($table);
}
$prefix = ''; $prefix = '';
// Tables may be prefixed with a string. This allows developers to // Tables may be prefixed with a string. This allows developers to