public function dropIndex($name, $table)
    {
        $cmdPromise = $this->createCommand()->dropIndex($name, $table)->execute();
        return $this->execPromise($cmdPromise, "drop index $name on $table");
    }
public function dropIndex($name, $table)
    {
        $cmdPromise = $this->createCommand()->dropIndex($name, $table)->execute();
        return $this->execPromise($cmdPromise, "drop index $name on $table");
    }
public function dropIndex ( $ name , $ table ) { $ cmdPromise = $ this -> createCommand ( ) -> dropIndex ( $ name , $ table ) -> execute ( ) ; return $ this -> execPromise ( $ cmdPromise , "drop index $name on $table" ) ; }
Builds and executes a SQL statement for dropping an index.
@param string $name the name of the index to be dropped. The name will be properly quoted by the method.
@param string $table the table whose index is to be dropped. The name will be properly quoted by the method.
@return LazyPromiseInterface
Builds and executes a SQL statement for dropping an index .