- storageInstance = new MongoDBStorage(connectionUri, logPrefix);
- break;
- // case StorageType.MYSQL:
- // case StorageType.MARIA_DB:
- // case StorageType.SQLITE:
- // storageInstance = new MikroORMStorage(connectionURI, logPrefix, type);
- // break;
+ storageInstance = new MongoDBStorage(connectionUri, logPrefix)
+ break
+ case StorageType.SQLITE:
+ case StorageType.MARIA_DB:
+ case StorageType.MYSQL:
+ storageInstance = new MikroOrmStorage(connectionUri, logPrefix, type)
+ break
+ case StorageType.NONE:
+ storageInstance = new None()
+ break