MongoDbMigrationProgress interface  
描述整体迁移的进度
属性
| databases | 迁移中数据库的进度。 键是数据库的名称 | 
| result | 多态鉴别器,它指定此对象可以的不同类型的 | 
继承属性
| bytes | 在复制阶段复制的文档字节数 | 
| documents | 在“复印”阶段复制的文档数 | 
| elapsed | 格式为 [ddd.]hh:mm:ss[.ff] (即 TimeSpan 格式) | 
| errors | 当前对象发生的错误和警告。 键是错误代码。 | 
| events | 等待重放的 oplog 事件数 | 
| events | 到目前为止重放的 oplog 事件数 | 
| last | 收到的最后一个 oplog 事件的时间戳,如果尚未收到 oplog 事件,则为 null | 
| last | 重放的最后一个 oplog 事件的时间戳,如果尚未重放 oplog 事件,则为 null | 
| name | 进度对象的名称。 对于集合,这是不限定的集合名称。 对于数据库,这是数据库名称。 对于整个迁移,此值为 null。 | 
| qualified | 进度对象的限定名称。 对于集合,这是数据库限定名称。 对于数据库,这是数据库名称。 对于整个迁移,此值为 null。 | 
| state | |
| total | 复制阶段开始时源上的文档字节总数,如果总大小未知,则 -1 | 
| total | 复制阶段开始时源上的文档总数,如果总数未知,则 -1 | 
属性详细信息
databases
迁移中数据库的进度。 键是数据库的名称
databases?: {[propertyName: string]: MongoDbDatabaseProgress}属性值
{[propertyName: string]: MongoDbDatabaseProgress}
		resultType
	 
	多态鉴别器,它指定此对象可以的不同类型的
resultType: "Migration"属性值
"Migration"
继承属性详细信息
		bytesCopied
	 
	
		documentsCopied
	 
	
		elapsedTime
	 
	格式为 [ddd.]hh:mm:ss[.ff] (即 TimeSpan 格式)
elapsedTime: string属性值
string
errors
当前对象发生的错误和警告。 键是错误代码。
errors: {[propertyName: string]: MongoDbError}属性值
{[propertyName: string]: MongoDbError}
		eventsPending
	 
	
		eventsReplayed
	 
	
		lastEventTime
	  
	收到的最后一个 oplog 事件的时间戳,如果尚未收到 oplog 事件,则为 null
lastEventTime?: Date属性值
Date
		lastReplayTime
	  
	重放的最后一个 oplog 事件的时间戳,如果尚未重放 oplog 事件,则为 null
lastReplayTime?: Date属性值
Date
name
		qualifiedName
	 
	进度对象的限定名称。 对于集合,这是数据库限定名称。 对于数据库,这是数据库名称。 对于整个迁移,此值为 null。
qualifiedName?: string属性值
string