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

View File

@@ -35,6 +35,9 @@ abstract class Grammar {
*/
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);