refactor:dialect.nosql=>driver.databaseEngineTypes

This commit is contained in:
Jan Prochazka
2022-03-05 12:12:02 +01:00
parent 8692283cb8
commit d7a2bf3ac0
15 changed files with 50 additions and 25 deletions

View File

@@ -240,6 +240,7 @@ module.exports = {
get_meta: true,
async get({ conid }) {
if (!conid) return null;
if (portalConnections) return portalConnections.find(x => x._id == conid) || null;
const res = await this.datastore.get(conid);
return res || null;