Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 666 for delete (0.14 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/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)
  5. 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)
  6. tests/delete_test.go

    		return
    	}
    
    	users := []*User{
    		GetUser("delete-returning-1", Config{}),
    		GetUser("delete-returning-2", Config{}),
    		GetUser("delete-returning-3", Config{}),
    	}
    	DB.Create(&users)
    
    	var results []User
    	DB.Where("name IN ?", []string{users[0].Name, users[1].Name}).Clauses(clause.Returning{}).Delete(&results)
    	if len(results) != 2 {
    		t.Errorf("failed to return delete data, got %v", results)
    	}
    
    	var count int64
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/graal/GraalSvm.kt

    @TargetClass(AndroidPlatform::class)
    @Delete
    class TargetAndroidPlatform
    
    @TargetClass(Android10Platform::class)
    @Delete
    class TargetAndroid10Platform
    
    @TargetClass(BouncyCastlePlatform::class)
    @Delete
    class TargetBouncyCastlePlatform
    
    @TargetClass(ConscryptPlatform::class)
    @Delete
    class TargetConscryptPlatform
    
    @TargetClass(Jdk8WithJettyBootPlatform::class)
    @Delete
    class TargetJdk8WithJettyBootPlatform
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/RecursiveDeleteOption.java

      /**
       * Specifies that the recursive delete should not throw an exception when it can't be guaranteed
       * that it can be done securely, without vulnerability to race conditions (i.e. when the file
       * system does not support {@link SecureDirectoryStream}).
       *
       * <p><b>Warning:</b> On a file system that supports symbolic links, it is possible for an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. tests/associations_belongs_to_test.go

    	// Delete
    	if err := DB.Model(&user2).Association("Company").Delete(&Company{}); err != nil {
    		t.Fatalf("Error happened when delete Company, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Company", 1, "after delete non-existing data")
    
    	if err := DB.Model(&user2).Association("Company").Delete(&company2); err != nil {
    		t.Fatalf("Error happened when delete Company, got %v", err)
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. tests/test_reponse_set_reponse_code_empty.py

    app = FastAPI()
    
    
    @app.delete(
        "/{id}",
        status_code=204,
        response_model=None,
    )
    async def delete_deployment(
        id: int,
        response: Response,
    ) -> Any:
        response.status_code = 400
        return {"msg": "Status overwritten", "id": id}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
        response = client.delete("/1")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top