protected function SqlBase::select in Drupal 10
Same name and namespace in other branches
- 8 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.
48 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 - Book::query in core/
modules/ book/ src/ Plugin/ migrate/ source/ Book.php - CommentType::query in core/
modules/ comment/ src/ Plugin/ migrate/ source/ CommentType.php
File
- core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php, line 230
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);
}