Documentation ¶
Index ¶
- func DumpAnalyticzCollections(uri *options.URI, org string, colls []string) error
- func FastFilteredCollections(uri *options.URI, queryField string, queryValue string, colls []string) error
- func ParseMongoURI(url string) (*options.URI, error)
- func RedisClient(ctx context.Context, addrs []string, masterName string, batchSize int64, ...) redisClient
- func RestoreCollections(dir string, uri *options.URI, dryRun bool) []mongorestore.Result
- func SlowFilteredCollections(uri *options.URI, queryField string, queryValue string, colls []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FastFilteredCollections ¶ added in v1.2.0
func FastFilteredCollections(uri *options.URI, queryField string, queryValue string, colls []string) error
FastFilteredCollections dumps collections concurrently
func ParseMongoURI ¶
ParseMongoURI can parse URLs like mongodb:///...
func RedisClient ¶
func RestoreCollections ¶ added in v1.1.3
RestoreCollections will restore all the collections in dir
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.