(stmt *Statement)
| 115 | } |
| 116 | |
| 117 | func (sd SoftDeleteUpdateClause) ModifyStatement(stmt *Statement) { |
| 118 | if stmt.SQL.Len() == 0 && !stmt.Statement.Unscoped { |
| 119 | SoftDeleteQueryClause(sd).ModifyStatement(stmt) |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | func (DeletedAt) DeleteClauses(f *schema.Field) []clause.Interface { |
| 124 | return []clause.Interface{SoftDeleteDeleteClause{Field: f, ZeroValue: parseZeroValueTag(f)}} |
nothing calls this directly
no test coverage detected