public function MigrateSourceSQL::computeCount in Migrate 6.2
Same name and namespace in other branches
- 7.2 plugins/sources/sql.inc \MigrateSourceSQL::computeCount()
Return a count of all available source records.
File
- plugins/
sources/ sql.inc, line 226 - Define a MigrateSource for importing from Drupal connections
Class
- MigrateSourceSQL
- Implementation of MigrateSource, to handle imports from Drupal connections.
Code
public function computeCount() {
$count = $this->countQuery
->execute()
->fetchField();
return $count;
}