Same name and namespace in other branches
- 8.9.x core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::select()
- 9 core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::select()
Wrapper for database select.
113 calls to SqlBase::select()
- Action::query in core/
modules/ system/ src/ Plugin/ migrate/ source/ Action.php - Block::prepareRow in core/
modules/ block/ src/ Plugin/ migrate/ source/ Block.php - Adds additional data to the row.
- Block::query in core/
modules/ block/ src/ Plugin/ migrate/ source/ Block.php - BlockCustom::query in core/
modules/ block_content/ src/ Plugin/ migrate/ source/ d7/ BlockCustom.php - BlockCustomTranslation::query in core/
modules/ block_content/ src/ Plugin/ migrate/ source/ d7/ BlockCustomTranslation.php
File
- core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php, line 226
Class
- SqlBase
- Sources whose data may be fetched via a database connection.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
protected function select($table, $alias = NULL, array $options = []) {
$options['fetch'] = \PDO::FETCH_ASSOC;
return $this
->getDatabase()
->select($table, $alias, $options);
}