original_string: public function getMigration() {
          $query = $this->db()->createQueryBuilder()
            ->select('m.*')
            ->from($this->table, 'm')
            ->where('migration = ?')
            ->setParameter(0, get_class($this));
          $results = $query->execute();
          $migration = $results->fetch();
  
          if (!$migration) {
              $this->create();
              return true; //Is not in the DB so is new and is pending
          }
  
          return $migration;
      }
code: public function getMigration() {
          $query = $this->db()->createQueryBuilder()
            ->select('m.*')
            ->from($this->table, 'm')
            ->where('migration = ?')
            ->setParameter(0, get_class($this));
          $results = $query->execute();
          $migration = $results->fetch();
  
          if (!$migration) {
              $this->create();
              return true; //Is not in the DB so is new and is pending
          }
  
          return $migration;
      }
code_tokens: public function getMigration ( ) { $ query = $ this -> db ( ) -> createQueryBuilder ( ) -> select ( 'm.*' ) -> from ( $ this -> table , 'm' ) -> where ( 'migration = ?' ) -> setParameter ( 0 , get_class ( $ this ) ) ; $ results = $ query -> execute ( ) ; $ migration = $ results -> fetch ( ) ; if ( ! $ migration ) { $ this -> create ( ) ; return true ; //Is not in the DB so is new and is pending } return $ migration ; }
docstring: Gets the information in the DB of this migration.
  @return mixed
docstring_tokens: Gets the information in the DB of this migration .