Documentation ¶
Index ¶
- func Create(ctx context.Context, id types.SFID, c wasm.Configuration) (*models.Config, error)
- func GetByRelAndType(ctx context.Context, id types.SFID, t enums.ConfigType) (*models.Config, error)
- func GetBySFID(ctx context.Context, id types.SFID) (*models.Config, error)
- func GetValueByRelAndType(ctx context.Context, rel types.SFID, t enums.ConfigType) (wasm.Configuration, error)
- func GetValueBySFID(ctx context.Context, id types.SFID) (wasm.Configuration, error)
- func Marshal(c wasm.Configuration) (data []byte, err error)
- func Remove(ctx context.Context, r *CondArgs) error
- func Unmarshal(data []byte, typ enums.ConfigType) (c wasm.Configuration, err error)
- func Upsert(ctx context.Context, rel types.SFID, c wasm.Configuration) (*models.Config, error)
- type CondArgs
- type Detail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetByRelAndType ¶ added in v1.1.0
func GetValueByRelAndType ¶ added in v1.1.0
func GetValueByRelAndType(ctx context.Context, rel types.SFID, t enums.ConfigType) (wasm.Configuration, error)
func GetValueBySFID ¶ added in v1.1.0
func Unmarshal ¶ added in v1.1.0
func Unmarshal(data []byte, typ enums.ConfigType) (c wasm.Configuration, err error)
Types ¶
type CondArgs ¶ added in v1.1.0
func (*CondArgs) Condition ¶ added in v1.1.0
func (r *CondArgs) Condition() builder.SqlCondition
Click to show internal directories.
Click to hide internal directories.