Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 790 for DELETE (0.04 sec)

  1. tests/joins_table_test.go

    		t.Fatalf("Failed to find address, got error %v, length: %v", err, len(addresses1))
    	}
    
    	if err := DB.Model(&person).Association("Addresses").Delete(&person.Addresses[0]); err != nil {
    		t.Fatalf("Failed to delete address, got error %v", err)
    	}
    
    	if len(person.Addresses) != 1 {
    		t.Fatalf("Should have one address left")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 10 13:46:18 UTC 2020
    - 3.5K bytes
    - Viewed (1)
  2. tests/soft_delete_test.go

    		t.Errorf("Age soft deleted record, expects: %v, got: %v", 0, age)
    	}
    
    	if err := DB.Delete(&user).Error; err != nil {
    		t.Fatalf("No error should happen when soft delete user, but got %v", err)
    	}
    
    	if sql.NullTime(user.DeletedAt).Time.IsZero() {
    		t.Fatalf("user's deleted at is zero")
    	}
    
    	sql := DB.Session(&gorm.Session{DryRun: true}).Delete(&user).Statement.SQL.String()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        // DELETE /api/admin/failureurl/log/{id}
        /**
         * Deletes a failure URL log by ID.
         *
         * @param id the failure URL log ID to delete
         * @return JSON response with result status
         */
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
            failureUrlService.getFailureUrl(id).ifPresent(entity -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java

         *
         * @param id the ID of the crawling info log to delete
         * @return JSON response indicating the deletion status
         */
        // DELETE /api/admin/crawlinginfo/log/{id}
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
            crawlingInfoService.getCrawlingInfo(id).ifPresent(entity -> {
                try {
                    crawlingInfoService.delete(entity);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. docs/bucket/replication/setup_replication.sh

    # configure replication config to remote bucket at http://localhost:9000
    mc replicate add source/bucket --priority 1 --remote-bucket http://repluser:repluser123@localhost:9000/bucket \
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    							continue
    						}
    						// Bucket not found proceed to delete such a job.
    					}
    				} else {
    					if err := job.Replicate.Start(job.ctx, j.objLayer, *job); err != nil {
    						if !isErrBucketNotFound(err) {
    							batchLogIf(j.ctx, err)
    							j.canceler(job.ID, false)
    							continue
    						}
    						// Bucket not found proceed to delete such a job.
    					}
    				}
    			case job.KeyRotate != nil:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

        }
    
        /**
         * Delete a stopwords entry.
         *
         * @param form the edit form containing the entry ID to delete
         * @return HTML response redirecting to the list page after successful deletion
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS, form.dictId);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                for (File file : files) {
                    if (file.isDirectory()) {
                        deleteDirectory(file);
                    } else {
                        file.delete();
                    }
                }
            }
            dir.delete();
        }
    
        // Test initialization
        public void test_init() {
            assertNotNull(thumbnailManager.baseDir);
            assertTrue(thumbnailManager.baseDir.exists());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

        }
    
        // Test basic delete operation
        public void test_delete_normalUser() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
            User user = createTestUser("testuser", "Test User");
    
            chain.delete(user);
    
            assertEquals(1, chain.deleteCalls.size());
            assertEquals(user, chain.deleteCalls.get(0));
        }
    
        // Test delete with null user
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java

            })).status(Status.OK).result());
        }
    
        // DELETE /api/admin/joblog/log/{id}
        /**
         * Deletes a specific job log.
         * Useful for cleaning up old job execution records.
         *
         * @param id the job log ID to delete
         * @return JSON response with deletion status
         */
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top