public function table($tableName, $no_prefix = false)
{
if ($this->connection->real_escape_string($tableName) == $tableName) {
$this->tableName = $no_prefix ? "{$this->database}.{$tableName}" : config('database.connections.mysql.prefix') . $tableName;
return $this;
} else {
throw new InvalidArgumentException('Table name contains invalid characters', 1);
}
}