public function Connection::insert in MongoDB 8
File
- drivers/
lib/ Drupal/ Driver/ Database/ mongodb/ Connection.php, line 47
Class
Namespace
Drupal\Driver\Database\mongodbCode
public function insert($table, array $options = array()) {
$return = FALSE;
if (drupal_valid_test_ua() || $table == 'node_access') {
$return = $this
->getTestHelper()
->insert($table, $options);
}
return $return ?: new FakeInsert($table, $options);
}