MikroOrm: Get list of schemas

Advertisements How can i retrieve a list of all the schemas of a mikro-orm.config.js DB Connection? I tried const publicOrm = await MikroORM.init(MikroOrmOptions); const result = await publicOrm .getSchemaGenerator() .execute(‘select schema_name from information_schema.schemata;’); But ‘result’ always undefined >Solution : The execute method on SchemaGenerator does not return anything, as its meant for schema commands and… Read More MikroOrm: Get list of schemas