Use proper getter to retrieve dialect

pull/219/head
encrypt 2022-04-21 21:18:52 +02:00
rodzic 173e81b154
commit 5408c8059b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -370,7 +370,7 @@ export default class DatabaseHelpers {
}
makeBboxCondition(bbox: BboxWithExcept | null | undefined, posField = "pos"): WhereOptions {
const dbType = this._db._conn.options.dialect
const dbType = this._db._conn.getDialect()
if(!bbox)
return { };