Skip to content

brite.InMemoryDaoHandler.js.passMatch() #19

Description

@LoginLogic

Re: https://github.com/BriteSnow/brite/blob/master/extra/brite.InMemoryDaoHandler.js

Case:
C1. Passing options to list()
C1.1. main.employeeDao.list({match:{firstName:{op:"===",val:value}}})

Problem:
P1. Did not work as advertised, returning true always

Fix:
F1. passMatch() #277
F1.1. OLD: (obj[k] !== match[k])
F1.2. NEW: (obj[k] !== match[k].val)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions