Documentation
¶
Index ¶
- Variables
- type ImportTypeCriteria
- type ImportTypeWithCriteria
- type Mongo
- func (this *Mongo) CreateId() string
- func (this *Mongo) Disconnect()
- func (this *Mongo) GetImportType(ctx context.Context, id string) (importType model.ImportType, exists bool, err error)
- func (this *Mongo) ListImportTypes(ctx context.Context, listOptions model.ImportTypeListOptions) (result []model.ImportType, total int64, err error)
- func (this *Mongo) RemoveImportType(ctx context.Context, id string) error
- func (this *Mongo) SetImportType(ctx context.Context, importType model.ImportType) error
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateCollections = []func(db *Mongo) error{}
Functions ¶
This section is empty.
Types ¶
type ImportTypeCriteria ¶ added in v0.0.9
type ImportTypeWithCriteria ¶ added in v0.0.9
type ImportTypeWithCriteria struct { model.ImportType `bson:",inline" json:",inline"` Criteria []ImportTypeCriteria `json:"criteria" bson:"criteria"` }
type Mongo ¶
type Mongo struct {
// contains filtered or unexported fields
}
func (*Mongo) Disconnect ¶
func (this *Mongo) Disconnect()
func (*Mongo) GetImportType ¶
func (*Mongo) ListImportTypes ¶
func (this *Mongo) ListImportTypes(ctx context.Context, listOptions model.ImportTypeListOptions) (result []model.ImportType, total int64, err error)
func (*Mongo) RemoveImportType ¶
func (*Mongo) SetImportType ¶
Click to show internal directories.
Click to hide internal directories.