From afcb60ec60cfd0ff8859b305cd378b7d69da89e5 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 12 Mar 2012 10:31:12 -0500 Subject: [PATCH] Adding comment in database grammar. Signed-off-by: Taylor Otwell --- laravel/database/grammar.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/laravel/database/grammar.php b/laravel/database/grammar.php index b301ac30..9dcb34ee 100644 --- a/laravel/database/grammar.php +++ b/laravel/database/grammar.php @@ -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);