Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nedb multi 不支持通过 regex 查找 #21

Open
linchen1987 opened this issue Jun 16, 2022 · 0 comments
Open

nedb multi 不支持通过 regex 查找 #21

linchen1987 opened this issue Jun 16, 2022 · 0 comments

Comments

@linchen1987
Copy link
Contributor

linchen1987 commented Jun 16, 2022

db.find({ planet: { $regex: /ar/ } }, function (err, docs) {}); 会报错 $regex operator called with non regular expression

应该是因为经过 socket 转发后拿到的数据类型变了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant