getExternalDatabase

getExternalDatabase(dbName: String): ExternalDatabase;

The getExternalDatabase method of the Schema class returns a reference to the shared transient instance of the external database specified in the dbName parameter or it returns null if there is no active external database with the specified name.