perspective mongo condition

This commit is contained in:
Jan Prochazka
2022-10-01 18:50:54 +02:00
parent b3839def32
commit 08abec7c3e
4 changed files with 101 additions and 38 deletions

View File

@@ -91,7 +91,15 @@ export class PerspectiveCache {
getTableCache(props: PerspectiveDataLoadProps) {
const tableKey = stableStringify(
_pick(props, ['schemaName', 'pureName', 'bindingColumns', 'databaseConfig', 'orderBy', 'condition'])
_pick(props, [
'schemaName',
'pureName',
'bindingColumns',
'databaseConfig',
'orderBy',
'sqlCondition',
'mongoCondition',
])
);
let res = this.tables[tableKey];