How can I use like query in $match ? #8125
Answered
by
achrinza
vishnukumarps
asked this question in
Q&A
|
` const notificationCollection = (this.notificationRepository.dataSource.connector as any).collection("Notification"); var msg="test msg"; I know how to get it done by below method. I am looking for a solution in aggregate function |
Answered by
achrinza
Dec 17, 2021
Replies: 1 comment 1 reply
|
Using the underlying MongoDB driver bypasses LoopBack's filter logic. Behind the scenes, |
1 reply
Answer selected by
achrinza
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the underlying MongoDB driver bypasses LoopBack's filter logic.
Behind the scenes,
likeuses MongoDB's$regex:https://github.com/loopbackio/loopback-connector-mongodb/blob/e985dd7a194ae56fac833adec8ba5efdec5c6c89/lib/mongodb.js#L1042-L1046