Problem with update_one and find_one Pymongo


I add new column in DB

Everything allright

But when I try find this user

This column is not here

Where is my problem?

It’s difficult to tell from the code you’ve provided - it all looks fine, but I guess the problem is elsewhere.

Your second screenshot - is that from Compass, or something else?

Are you definitely using the exact same value for in both first_zero_ref and count_ref?

Sorry, I find mistake in my code, maybe someone can delete this topic?


Don’t worry about it. Glad you solved your problem!