lib/mongo/db.rb
# Remove the records that match +selector+ from +collection_name+.
# Normally called by Collection#remove or Collection#clear.
Remove the records that match +selector+ from +collection_name+.
Normally called by Collection#remove or Collection#clear.
Remove the records that match + selector + from + collection_name + . Normally called by Collection#remove or Collection#clear .
def remove_from_db(collection_name, selector)
          @semaphore.synchronize {
            send_to_db(RemoveMessage.new(@name, collection_name, selector))
          }
        end
def remove_from_db ( collection_name , selector ) @semaphore . synchronize { send_to_db ( RemoveMessage . new ( @name , collection_name , selector ) ) } end
Remove the records that match +selector+ from +collection_name+.
Remove the records that match + selector + from + collection_name + .
collection_name
<not_specific>
selector
<not_specific>