I\'m trying to find a record within MongoDB, and filter _id from the result.
_id
Here is my code:
#app.py @app.route(\'/login\', methods = [
it is the best way for avoiding id,
data = db.author.find_one({'email' : email, 'password' : password},{"password":1, "email":1, "name":1,"_id": False})
now you got ANSWER "{'password': '123123', 'name': 'prakash', 'email': 'prakashprabhu48@gmail.com'}"(without id)