Skip to content

brite.InMemoryDaoHandler.js.passMatch() #19

@LoginLogic

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)

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