Is it ok to import ObjectId from mongodb in a frontend file?
I need it to setup a query and send to the server.
Or should I only use the mongodb module in the backend?
I need it to setup a query and send to the server.
Or should I only use the mongodb module in the backend?