- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 644 for Undelete (0.06 seconds)
-
callbacks/delete.go
queryConds = append(queryConds, clause.IN{Column: column, Values: values}) if db.AddError(tx.Clauses(clause.Where{Exprs: queryConds}).Delete(modelValue).Error) != nil { return } } } } } func Delete(config *Config) func(db *gorm.DB) { supportReturning := utils.Contains(config.DeleteClauses, "RETURNING") return func(db *gorm.DB) { if db.Error != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
private final boolean canDelete; UnmovableFile(File file, boolean canRename, boolean canDelete) { super(file.getPath()); this.canRename = canRename; this.canDelete = canDelete; } @Override public boolean renameTo(File to) { return canRename && super.renameTo(to); } @Override public boolean delete() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 22.8K bytes - Click Count (0) -
tests/association_generics_test.go
} // Delete pets via OpDelete delOp := clause.Association{Association: "Pets", Type: clause.OpDelete} if _, err := gorm.G[User](DB).Where("id = ?", user.ID).Set(delOp).Update(ctx); err != nil { t.Fatalf("OpDelete failed: %v", err) } AssertAssociationCount(t, user, "Pets", 0, "after delete") } // HasOne: update and delete NamedPet via OpUpdate/OpDeleteCreated: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 05:42:26 GMT 2025 - 37.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/BadWordService.java
} /** * Deletes a bad word. * @param badWord The bad word to delete. */ public void delete(final BadWord badWord) { badWordBhv.delete(badWord, op -> op.setRefreshPolicy(Constants.TRUE)); } /** * Sets up search conditions for bad word list queries.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 8.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
if (warnAboutCleanup) { System.out.println("[WARNING] TestFileManager from: " + callerInfo.getClassName() + " not cleaned up!"); } } public void markForDeletion(File toDelete) { filesToDelete.add(toDelete); warnAboutCleanup = true; } public synchronized File createTempDir() { try { Thread.sleep(20); } catch (InterruptedException e) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.8K bytes - Click Count (0) -
clause/association.go
package clause // AssociationOpType represents association operation types type AssociationOpType int const ( OpUnlink AssociationOpType = iota // Unlink association OpDelete // Delete association records OpUpdate // Update association records OpCreate // Create association records with assignments ) // Association represents an association operation
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 05:42:26 GMT 2025 - 1.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
write(model, tgt); } private void deferDeleteFile(Path generatedFile) { toDelete.add(generatedFile.toAbsolutePath()); } @PreDestroy private void doDeleteFiles() { for (Path file : toDelete) { try { Files.delete(file); } catch (IOException e) { // ignore, we did our best... } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 8.9K bytes - Click Count (0) -
generics.go
switch op.Type { case clause.OpUnlink: return assocDB.Updates(fkNil).Error case clause.OpDelete: return assocDB.Delete(assocModel).Error case clause.OpUpdate: return assocDB.Updates(setMap).Error } case schema.BelongsTo: switch op.Type { case clause.OpDelete: return base.Transaction(func(tx *DB) error { assocDB.Statement.ConnPool = tx.Statement.ConnPoolCreated: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:34:24 GMT 2026 - 26K bytes - Click Count (0) -
tests/generics_test.go
} rows, err := gorm.G[User](DB).Where("id = ?", u.ID).Delete(ctx) if err != nil { t.Fatalf("Delete failed: %v", err) } if rows != 1 { t.Errorf("expected 1 row deleted, got %d", rows) } _, err = gorm.G[User](DB).Where("id = ?", u.ID).First(ctx) if err != gorm.ErrRecordNotFound { t.Fatalf("User after delete failed: %v", err) } } func TestGenericsFindInBatches(t *testing.T) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0) -
schema/relationship.go
ReferenceSchema *Schema References []*Field OnDelete string OnUpdate string } func (constraint *Constraint) GetName() string { return constraint.Name } func (constraint *Constraint) Build() (sql string, vars []interface{}) { sql = "CONSTRAINT ? FOREIGN KEY ? REFERENCES ??" if constraint.OnDelete != "" { sql += " ON DELETE " + constraint.OnDelete } if constraint.OnUpdate != "" {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Nov 16 04:11:05 GMT 2025 - 23.1K bytes - Click Count (1)