You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Translate mongodb matchers into bson query to improve performance
The Select function of the mongodb implementation use matchers instead of bson queries.
Actual behaviour
The function select function in storage/dataase/db/mongo.go should use bson instead of matchers. Replace the matchers with bson. Current implementation:
func (s *MongoShim) Select(matchers ...q.Matcher) Query {
// TODO: translate matchers into bson query to improve performance
return &MongoQuery{matcher: q.And(matchers...), s: s}
}
Translate mongodb matchers into bson query to improve performance
The Select function of the mongodb implementation use matchers instead of bson queries.
Actual behaviour
The function select function in storage/dataase/db/mongo.go should use bson instead of matchers. Replace the matchers with bson. Current implementation:
See also #218
The text was updated successfully, but these errors were encountered: