Interface ChangeStreamDocumentKey<TSchema>

Type Parameters

Hierarchy

Properties

Properties

documentKey: {
    _id: InferIdType<TSchema>;
    [shardKey: string]: any;
}

For unsharded collections this contains a single field _id. For sharded collections, this will contain all the components of the shard key

Type declaration

Generated using TypeDoc