We have a project which uses a nodeJS and MongoDB backend.
This project ideally needs to allow users to input $ signs into the comments which they can make.
However I am concerned that this could result in query injection.
Is there a safe way to allow the use of $ signs?