mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 23:52:49 +08:00
优化Connection类的getRealSql方法生成的sql
This commit is contained in:
@@ -390,9 +390,7 @@ class App
|
|||||||
|
|
||||||
Hook::listen('action_begin', $call);
|
Hook::listen('action_begin', $call);
|
||||||
|
|
||||||
$data = self::invokeMethod($call);
|
return self::invokeMethod($call);
|
||||||
|
|
||||||
return $data;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -433,7 +433,7 @@ abstract class Connection
|
|||||||
$sql . ' ');
|
$sql . ' ');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $sql;
|
return rtrim($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user