// GetBSON implements the bson marshaling interface.
// This is used to transparently convert ID to MongoDBID as ObectID.
GetBSON implements the bson marshaling interface.
This is used to transparently convert ID to MongoDBID as ObectID.
// GetBSON implements the bson marshaling interface . // This is used to transparently convert ID to MongoDBID as ObectID .
func (o *SparseSquallTag) GetBSON() (interface{}, error) {
	if o == nil {
		return nil, nil
	}
	s := &mongoAttributesSparseSquallTag{}
	if o.Count != nil {
		s.Count = o.Count
	}
	if o.Namespace != nil {
		s.Namespace = o.Namespace
	}
	if o.Value != nil {
		s.Value = o.Value
	}
	return s, nil
}
func ( o * SparseSquallTag ) GetBSON ( ) ( interface { } , error ) { if o == nil { return nil , nil } s := & mongoAttributesSparseSquallTag { } if o . Count != nil { s . Count = o . Count } if o . Namespace != nil { s . Namespace = o . Namespace } if o . Value != nil { s . Value = o . Value } return s , nil }
GetBSON implements the bson marshaling interface.
GetBSON implements the bson marshaling interface .