title: How to query on multiple filters in pymongo's find_one_and_update() method?
body: <p>I am trying to use pymongo's find_one_and_update() method to update some values in mongoDB, but I need to filter based on two different conditions, and this does not seem possible.</p>
  <p>I tried passing in a list of filters akin to [{&quot;name&quot;: &quot;name&quot;}, {&quot;date&quot;: &quot;date}], but this did not work.</p>
  <p>Is there no way to filter on multiple conditions with this method? How else can I achieve this?</p>
  <p>Thanks</p>