teambition / ReactiveDB

Reactive ORM for Lovefield
MIT License
105 stars 6 forks source link

fix(predicateProvider): fix behavior that null value in predicate des… #49

Closed Brooooooklyn closed 7 years ago

Brooooooklyn commented 7 years ago

Description

{
  where: {
    involveMembers: {
      $has: userId
    },
    _executorId: {
      $or: null
    }
  }
}

null should be skiped

Related Issue

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 95.125% when pulling 64415e90fe017023589d24d7e18440d35b425f61 on issue/predicate-null into 64415e90fe017023589d24d7e18440d35b425f61 on master.