You are here

public function Connection::select in MongoDB 8

File

drivers/lib/Drupal/Driver/Database/mongodb/Connection.php, line 76

Class

Connection

Namespace

Drupal\Driver\Database\mongodb

Code

public function select($table, $alias = NULL, array $options = array()) {
  $return = FALSE;
  if (drupal_valid_test_ua()) {
    $return = $this
      ->getTestHelper()
      ->select($table, $alias, $options);
  }
  return $return ?: new FakeUpdate($this->databaseContents, $table);
}