Skip to content

Model api does not fully work with memory #638

@PhoenixGrey

Description

@PhoenixGrey

gt, lt such comparisons work fine when the db is configured as mysql, but wrong with memory.

eg,
There is a model called user is generated with age, name, birthday. Using

User.count({age:{gt:10}}, function(err, data) {....})

is fine under compound c but not NODE_ENV="test" compound c, while in config/database.coffee the configuration is set mysql as development env and memory as test env, respectively.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions