8.5.x SqlBase.php SqlBase::select($table, $alias = NULL, array $options = [])
8.0.x SqlBase.php SqlBase::select($table, $alias = NULL, array $options = array())
8.1.x SqlBase.php SqlBase::select($table, $alias = NULL, array $options = array())
8.2.x SqlBase.php SqlBase::select($table, $alias = NULL, array $options = array())
8.3.x SqlBase.php SqlBase::select($table, $alias = NULL, array $options = [])
8.4.x SqlBase.php SqlBase::select($table, $alias = NULL, array $options = [])
8.6.x SqlBase.php SqlBase::select($table, $alias = NULL, array $options = [])

Wrapper for database select.

3 calls to SqlBase::select()
Node::getCckData in core/modules/node/src/Plugin/migrate/source/d6/Node.php
Retrieves raw CCK field data for a node.
Node::getFieldInfo in core/modules/node/src/Plugin/migrate/source/d6/Node.php
Gets CCK field and instance definitions from the database.
Node::query in core/modules/node/src/Plugin/migrate/source/d6/Node.php

File

core/modules/migrate/src/Plugin/migrate/source/SqlBase.php, line 183

Class

SqlBase
Sources whose data may be fetched via DBTNG.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

protected function select($table, $alias = NULL, array $options = []) {
  $options['fetch'] = \PDO::FETCH_ASSOC;
  return $this
    ->getDatabase()
    ->select($table, $alias, $options);
}