Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FlagDeleted = 1 FlagActived = 0 )
Functions ¶
This section is empty.
Types ¶
type SoftDeleteDeleteClause ¶
type SoftDeleteDeleteClause struct { Field *schema.Field Flag bool TimeType schema.TimeType DeleteAtField *schema.Field }
func (SoftDeleteDeleteClause) Build ¶
func (sd SoftDeleteDeleteClause) Build(clause.Builder)
func (SoftDeleteDeleteClause) MergeClause ¶
func (sd SoftDeleteDeleteClause) MergeClause(*clause.Clause)
func (SoftDeleteDeleteClause) ModifyStatement ¶
func (sd SoftDeleteDeleteClause) ModifyStatement(stmt *gorm.Statement)
func (SoftDeleteDeleteClause) Name ¶
func (sd SoftDeleteDeleteClause) Name() string
type SoftDeleteQueryClause ¶
func (SoftDeleteQueryClause) Build ¶
func (sd SoftDeleteQueryClause) Build(clause.Builder)
func (SoftDeleteQueryClause) MergeClause ¶
func (sd SoftDeleteQueryClause) MergeClause(*clause.Clause)
func (SoftDeleteQueryClause) ModifyStatement ¶
func (sd SoftDeleteQueryClause) ModifyStatement(stmt *gorm.Statement)
func (SoftDeleteQueryClause) Name ¶
func (sd SoftDeleteQueryClause) Name() string
type SoftDeleteUpdateClause ¶ added in v1.0.3
func (SoftDeleteUpdateClause) Build ¶ added in v1.0.3
func (sd SoftDeleteUpdateClause) Build(clause.Builder)
func (SoftDeleteUpdateClause) MergeClause ¶ added in v1.0.3
func (sd SoftDeleteUpdateClause) MergeClause(*clause.Clause)
func (SoftDeleteUpdateClause) ModifyStatement ¶ added in v1.0.3
func (sd SoftDeleteUpdateClause) ModifyStatement(stmt *gorm.Statement)
func (SoftDeleteUpdateClause) Name ¶ added in v1.0.3
func (sd SoftDeleteUpdateClause) Name() string
Click to show internal directories.
Click to hide internal directories.