有没有办法在typo3 10版中执行普通SQL?我怎样才能做到这一点?
// in previous versions you could do the following
$sql = 'SELECT * FROM tt_content;';
$GLOBALS['TYPO3_DB']->sql_query($sql);
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
// ...
}
编辑
简单脚本SELECT * FROM tt_content
只是一个占位符。我想对我的统计页面做一些特殊的迁移或一些特殊的请求。