Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SqlBase.php

function SqlBase::select

Wrapper for database select.

3 calls to SqlBase::select()
Node::getFieldData in core/modules/node/src/Plugin/migrate/source/d6/Node.php
Retrieves raw field data for a node.
Node::getFieldInfo in core/modules/node/src/Plugin/migrate/source/d6/Node.php
Gets 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 226

Class

SqlBase
Sources whose data may be fetched via a database connection.

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);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal