Documentation ¶
Index ¶
- Variables
- type Mongo
- func (this *Mongo) CountVariables(userId string, query model.VariablesQueryOptions) (result model.Count, err error)
- func (this *Mongo) DeleteVariable(userId string, key string) error
- func (this *Mongo) DeleteVariablesOfProcessDefinition(definitionId string) error
- func (this *Mongo) DeleteVariablesOfProcessInstance(instanceId string) error
- func (this *Mongo) GetVariable(userId string, key string) (result model.VariableWithUser, err error)
- func (this *Mongo) ListVariables(userId string, query model.VariablesQueryOptions) (result []model.VariableWithUnixTimestamp, err error)
- func (this *Mongo) SetVariable(variable model.VariableWithUser) error
- type QueryOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateCollections = []func(db *Mongo) error{}
View Source
var VariableBson = getBsonFieldObject[model.VariableWithUser]()
Functions ¶
This section is empty.
Types ¶
type Mongo ¶
type Mongo struct {
// contains filtered or unexported fields
}
func (*Mongo) CountVariables ¶
func (*Mongo) DeleteVariablesOfProcessDefinition ¶
func (*Mongo) DeleteVariablesOfProcessInstance ¶
func (*Mongo) GetVariable ¶
func (*Mongo) ListVariables ¶
func (this *Mongo) ListVariables(userId string, query model.VariablesQueryOptions) (result []model.VariableWithUnixTimestamp, err error)
func (*Mongo) SetVariable ¶
func (this *Mongo) SetVariable(variable model.VariableWithUser) error
type QueryOptions ¶
Click to show internal directories.
Click to hide internal directories.