DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

SELECT_mm_query()

What does it do?

The method sends a SQL-Select statement and returns a SQL query.

Sample

$query = \Netzmacher\Refresh\Compatibility\Core\Database\DatabaseConnection::SELECT_mm_query( $select, $local_table, $mm_table, $foreign_table, $whereClause, $groupBy );

Refresh

You can refresh your extension by find and replace.

// Code from TYPO3 6.2 to 8.7
$query = $GLOBALS[ 'TYPO3_DB' ]->SELECT_mm_query( $select, $local_table, $mm_table, $foreign_table, $whereClause, $groupBy );
// Code from TYPO3 6.2 to 9.x
$query = \Netzmacher\Refresh\Compatibility\Core\Database\DatabaseConnection::SELECT_mm_query( $select, $local_table, $mm_table, $foreign_table, $whereClause, $groupBy );

Move “$GLOBALS[ ‘TYPO3_DB’ ]->SELECT_mm_query” to “Netzmacher\Refresh\Compatibility\Core\Database\DatabaseConnection::SELECT_mm_query”