func (c *Collection) DeleteOne(query bson.M) error {
	sess := c.Connection.Session.Clone()
	defer sess.Close()
	col := c.collectionOnSession(sess)
	return col.Remove(query)
}
func (c *Collection) DeleteOne(query bson.M) error {
	sess := c.Connection.Session.Clone()
	defer sess.Close()
	col := c.collectionOnSession(sess)
	return col.Remove(query)
}
func ( c * Collection ) DeleteOne ( query bson . M ) error { sess := c . Connection . Session . Clone ( ) defer sess . Close ( ) col := c . collectionOnSession ( sess ) return col . Remove ( query ) }
// Convenience method which just delegates to mgo. Note that hooks are NOT run
Convenience method which just delegates to mgo . Note that hooks are NOT run