Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created November 1, 2019 13:36
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save NMZivkovic/b6675643b707970013b655814c7b33f2 to your computer and use it in GitHub Desktop.
result = user_repo.update({'name':'Rubik'}, {'$set': {'name': "Nikola"}})
print(result.acknowledged)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment