Adding comment in database grammar.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
Taylor Otwell 2012-03-12 10:31:12 -05:00
parent d862a5181a
commit afcb60ec60
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ public function __construct(Connection $connection)
*/
public function wrap_table($table)
{
// Expressions should be injected into the query as raw strings so
// so we do not want to wrap them in any way. We will just return
// the string value from the expression to be included.
if ($table instanceof Expression)
{
return $this->wrap($table);