title: What should I use other than .findAndModify?
body: <p>I have the following code:</p>
  
  <pre><code>var roomDoc = Rooms.findAndModify({
    query: {name: roomName},
    update: {$setOnInsert: {unixTimestamp: unixTimestampSeconds()}},
    new: true,
    upsert: true
  });
  </code></pre>
  
  <p>After getting an error that <code>.findAndModify is undefined</code>, I realized, Meteor doesn't implement <code>.findAndModify</code>.</p>
  
  <p>Is there a Meteor way  to achieve similar functionality by using different queries?</p>