Source represents a MongoDB database.
| 45 | |
| 46 | // Source represents a MongoDB database. |
| 47 | type Source struct { |
| 48 | db.Settings |
| 49 | |
| 50 | ctx context.Context |
| 51 | |
| 52 | name string |
| 53 | connURL db.ConnectionURL |
| 54 | session *mongo.Client // rename to client |
| 55 | database *mongo.Database |
| 56 | version []int |
| 57 | collections map[string]*Collection |
| 58 | collectionsMu sync.Mutex |
| 59 | } |
| 60 | |
| 61 | type mongoAdapter struct { |
| 62 | } |
nothing calls this directly
no outgoing calls
no test coverage detected