Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,390 for delete (0.11 sec)

  1. 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 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Feb 25 02:48:23 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  2. clause/delete.go

    package clause
    
    type Delete struct {
    	Modifier string
    }
    
    func (d Delete) Name() string {
    	return "DELETE"
    }
    
    func (d Delete) Build(builder Builder) {
    	builder.WriteString("DELETE")
    
    	if d.Modifier != "" {
    		builder.WriteByte(' ')
    		builder.WriteString(d.Modifier)
    	}
    }
    
    func (d Delete) MergeClause(clause *Clause) {
    	clause.Name = ""
    	clause.Expression = d
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 09 09:07:00 UTC 2020
    - 359 bytes
    - Viewed (0)
  3. docs/bucket/replication/delete-replication.sh

    kill ${pid2} && wait ${pid2} || true
    
    aws s3api --endpoint-url http://localhost:9001 delete-object --bucket foobucket --key dir/file --version-id "$versionId"
    
    out="$(./mc ls myminio1/foobucket/dir/)"
    if [ "$out" != "" ]; then
    	echo "BUG: non versioned listing should not show pending/failed replicated delete:"
    	echo "$out"
    	exit 1
    fi
    
    out="$(./mc ls --versions myminio1/foobucket/dir/)"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle.go

    	DeleteRestoredAction
    	// DeleteRestoredVersionAction deletes a particular version that was temporarily restored
    	DeleteRestoredVersionAction
    	// DeleteAllVersionsAction deletes all versions when an object expires
    	DeleteAllVersionsAction
    	// DelMarkerDeleteAllVersionsAction deletes all versions when an object with delete marker as latest version expires
    	DelMarkerDeleteAllVersionsAction
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. docs/bucket/replication/README.md

    ```
    mc replicate edit alias/bucket --id xyz.id --replicate "delete,delete-marker"
    ```
    
    To re-enable replica metadata modification syncing,
    
    ```
    mc replicate edit alias/bucket --id xyz.id --replicate "delete,delete-marker,replica-metadata-sync"
    ```
    
    ## MinIO Extension
    
    ### Replicating Deletes
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/MoreFilesTest.java

            Path dir = fs.getPath("dir");
            assertEquals(6, MoreFiles.listFiles(dir).size());
    
            method.delete(dir);
            method.assertDeleteSucceeded(dir);
    
            assertEquals(
                "contents of /dontdelete deleted by delete method " + method,
                3,
                MoreFiles.listFiles(fs.getPath("/dontdelete")).size());
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashBiMap.java

                delete(delegate);
                BiEntry<K, V> newEntry =
                    new BiEntry<>(key, keyHash, delegate.value, delegate.valueHash);
                delegate = newEntry;
                insert(newEntry, null);
                expectedModCount = modCount;
                return oldKey;
              }
            }
          };
        }
    
        @Override
        public void forEach(BiConsumer<? super V, ? super K> action) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  8. internal/crypto/metadata.go

    func RemoveSSEHeaders(metadata map[string]string) {
    	delete(metadata, xhttp.AmzServerSideEncryption)
    	delete(metadata, xhttp.AmzServerSideEncryptionKmsID)
    	delete(metadata, xhttp.AmzServerSideEncryptionKmsContext)
    	delete(metadata, xhttp.AmzServerSideEncryptionCustomerAlgorithm)
    	delete(metadata, xhttp.AmzServerSideEncryptionCustomerKey)
    	delete(metadata, xhttp.AmzServerSideEncryptionCustomerKeyMD5)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/IoTestCase.java

      @CanIgnoreReturnValue
      private boolean delete(File file) {
        if (file.isDirectory()) {
          File[] files = file.listFiles();
          if (files != null) {
            for (File f : files) {
              if (!delete(f)) {
                return false;
              }
            }
          }
        }
    
        if (!file.delete()) {
          logger.log(Level.WARNING, "couldn't delete file: {0}", new Object[] {file});
          return false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        }
        return false
      }
    
      /**
       * Closes the cache and deletes all of its stored values. This will delete all files in the cache
       * directory including files that weren't created by the cache.
       */
      @Throws(IOException::class)
      fun delete() {
        close()
        fileSystem.deleteContents(directory)
      }
    
      /**
       * Deletes all stored values from the cache. In-flight edits will complete normally but their
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top