diff --git a/src/database/provider/arango/base.ts b/src/database/provider/arango/base.ts index a8b827f..ecd3214 100644 --- a/src/database/provider/arango/base.ts +++ b/src/database/provider/arango/base.ts @@ -44,8 +44,8 @@ export class Arango implements DatabaseProvider { throw new Error('invalid or missing collection argument for find operation'); } - let filterQuery: any = filter || {}; - const opts = options || {}; + let filterQuery: any = filter ?? {}; + const opts = options ?? {}; let filterResult: any; let bindVars: any;