Add timeseries, discriminator
This commit is contained in:
@@ -14,7 +14,7 @@ import (
|
||||
// CreateViews will create views for the given collection and definition.
|
||||
func (c *MongoClient) CreateViews(db *mongo.Database, cdef *CollectionDefinition) {
|
||||
if cdef == nil || cdef.Views == nil {
|
||||
log.Printf("No definitions will not create views")
|
||||
log.Printf("No definition for views found.")
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user