You are here

public function MongoDbStorageCommands::import in MongoDB 8.2

Import the database KeyValue contents from default keys to MongoDB.

@usage mongodb:storage:import_keyvalue Import the database KeyValue contents from default keys to MongoDB.

@command mongodb:storage:import_keyvalue @aliases mdbsikv,most-ikv

File

modules/mongodb_storage/src/Commands/MongoDbStorageCommands.php, line 41

Class

MongoDbStorageCommands
Drush 9 commands service for the mongodb_watchdog module.

Namespace

Drupal\mongodb_storage\Commands

Code

public function import() {
  $this->sqlImport
    ->import();
}