I am using mongo db version 2.2.3 . I am having the requirement like user gives the input like "(ash|ben) & (Bus|car)" as search keywords. In this the & is for AND condition and | for the OR condition. Is there any way to make this nested leywords as a mongodb query in node js. Is there any functionality in mongodb to achieve this?. If not how can make this in any other way?
Hi ,
I am new to node js Can one please help me , how one user can join in more than one room and he can chat at a time without destroying another room.
I use nodejs with mongoDB and I want to insert JSON data into mongo, I use mongoose but I don't wanna to use model and shéma just push different json with different shéma.
Can someone tell me how I can do it ?
Please advise if a NodeJS app should keep its historical data in a separate MongoDB databases instead of keeping them together with the application data? For instance, 'transactions' collection and 'transactionhistories' collection, will it be better to store in different databases or single database for the same NodeJS app? Thanks!