Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,009 for DELETE (0.03 seconds)

  1. 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)
  2. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

            });
            return redirect(getClass());
        }
    
        /**
         * Delete an access token.
         * @param form The edit form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS, this::asListHtml);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  3. docs/features/caching.md

    ## Cache directory
    
    The cache directory must be exclusively owned by a single instance.
    
    Deleting the cache when it is no longer needed can be done.  However this may delete the purpose of the cache
    which is designed to persist between app restarts.
    
    ```kotlin
    cache.delete()
    ```
    
    ## Pruning the Cache
    
    Pruning the entire Cache to clear space temporarily can be done using evictAll.
    
    ```kotlin
    cache.evictAll()
    ```
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.1K bytes
    - Click Count (1)
  4. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            if (tempDir != null && Files.exists(tempDir)) {
                Files.walk(tempDir)
                        .sorted((a, b) -> b.compareTo(a)) // Delete files before directories
                        .forEach(path -> {
                            try {
                                Files.delete(path);
                            } catch (IOException e) {
                                // Ignore cleanup errors
                            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. ci/official/upload.sh

    # contents. About arguments to gsutil:
    # "gsutil -m rsync" runs in parallel.
    # "gsutil rsync -r" is recursive and makes directories work.
    # "gsutil rsync -d" is "sync and delete files from destination if not present in source"
    
    DOWNLOADS="$(mktemp -d)"
    mkdir -p "$DOWNLOADS"
    gsutil -m rsync -r "$TFCI_ARTIFACT_STAGING_GCS_URI" "$DOWNLOADS"
    ls "$DOWNLOADS"
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 04 22:39:12 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/vibe.md

    **FastAPI** now supports a new `@app.vibe()` decorator that embraces **modern AI coding best practices**. 🤖
    
    ## How It Works { #how-it-works }
    
    The `@app.vibe()` decorator is intended to receive **any HTTP method** (`GET`, `POST`, `PUT`, `DELETE`, `PATCH`, etc.) and **any payload**.
    
    The body should be annotated with `Any`, because the request and the response would be... well... **anything**. 🤷
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

         * with immediate refresh to ensure consistency.
         *
         * @param crawlingInfo the crawling information entity to delete
         */
        public void delete(final CrawlingInfo crawlingInfo) {
            setupDeleteCondition(crawlingInfo);
    
            crawlingInfoBhv.delete(crawlingInfo, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/EditForm.java

         */
        public EditForm() {
            // Default constructor
        }
    
        /**
         * The CRUD operation mode for this form.
         * Indicates whether this is a create, read, update, or delete operation.
         */
        @ValidateTypeFailure
        public int crudMode;
    
        /**
         * The unique identifier of the crawling information entry being edited.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. src/bootstrap.bash

    gohostos="$(../bin/go env GOHOSTOS)"
    gohostarch="$(../bin/go env GOHOSTARCH)"
    goos="$(../bin/go env GOOS)"
    goarch="$(../bin/go env GOARCH)"
    
    # NOTE: Cannot invoke go command after this point.
    # We're about to delete all but the cross-compiled binaries.
    cd ..
    if [ "$goos" = "$gohostos" -a "$goarch" = "$gohostarch" ]; then
    	# cross-compile for local system. nothing to copy.
    	# useful if you've bootstrapped yourself but want to
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Click Count (0)
  10. docs/distributed/decom-encrypted-kes.sh

    ./mc encrypt set sse-kms minio-default-key myminio/versioned-1
    
    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    ./mc mirror internal myminio/versioned-1/ --quiet >/dev/null
    
    ## Soft delete (creates delete markers)
    ./mc rm -r --force myminio/versioned >/dev/null
    ./mc rm -r --force myminio/versioned-1 >/dev/null
    
    ## mirror again to create another set of version on top
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 7.1K bytes
    - Click Count (1)
Back to Top