public function MigrateSourceMSSQL::__construct in Migrate 6.2
Same name and namespace in other branches
- 7.2 plugins/sources/sqlsrv.inc \MigrateSourceMSSQL::__construct()
Simple initialization.
Overrides MigrateSource::__construct
File
- plugins/
sources/ mssql.inc, line 64 - Define a MigrateSource for importing from Microsoft SQL Server databases.
Class
- MigrateSourceMSSQL
- Implementation of MigrateSource, to handle imports from remote MS SQL Server db servers.
Code
public function __construct(array $configuration, $query, $count_query, array $fields, array $options = array()) {
parent::__construct($options);
$this->query = $query;
$this->countQuery = $count_query;
$this->configuration = $configuration;
$this->fields = $fields;
$this->batchSize = isset($options['batch_size']) ? $options['batch_size'] : 500;
}