You are here

protected function SqlBase::select in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::select()

Wrapper for database select.

2 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.

File

core/modules/migrate/src/Plugin/migrate/source/SqlBase.php, line 133
Contains \Drupal\migrate\Plugin\migrate\source\SqlBase.

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 = array()) {
  $options['fetch'] = \PDO::FETCH_ASSOC;
  return $this
    ->getDatabase()
    ->select($table, $alias, $options);
}