Class SyncMongoClientFactory


  • public abstract class SyncMongoClientFactory
    extends Object
    • Constructor Detail

      • SyncMongoClientFactory

        public SyncMongoClientFactory()
    • Method Detail

      • deleteDatabase

        public static boolean deleteDatabase​(StitchAppClientInfo appInfo,
                                             String serviceName,
                                             EmbeddedMongoClientFactory clientFactory,
                                             String userId)
        Delete a database for a given path and userId.
        Parameters:
        appInfo - the info for this application
        serviceName - the name of the associated service
        clientFactory - the associated factory that creates clients
        userId - the id of the user's to delete
        Returns:
        true if successfully deleted, false if not