Open 3rduncle opened 6 years ago
about Collection struct, in func (c *Collection) Save(doc Document) error
,i find the codesess := c.Connection.Session.Clone()
.
But in func (c *Collection) Find(query interface{}) *ResultSet
, don't have the code sess := c.Connection.Session.Clone()
.
When the connection has been disconnected,use the func Find() will failed.
why don't add the code sess := c.Connection.Session.Clone()
?
It would be better to explain the question a bit. Are you getting an error message or what?