Generate Wildcard Collections
You can dynamically generate collection names that map to data in your
Atlas cluster. To dynamically generate collection names, specify
the wildcard, *
, as the value for the collection name setting in
your federated database instance storage configuration.
You can use the storageSetConfig
command to configure the settings for generating wildcard (*
)
collections.
For the Atlas data store, you can generate the following wildcard collections and databases in your federated database instance storage configuration:
Wildcard collections for a specific database
Wildcard databases with one wildcard collection
You can also dynamically generate collection names that match a regex pattern.