Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,390 for delete (0.08 sec)

  1. tests/hooks_test.go

    	}
    
    	p3 := Product{Code: "dont_delete", Price: 100}
    	DB.Save(&p3)
    	if DB.Delete(&p3).Error == nil {
    		t.Fatalf("An error from before delete callbacks happened when delete")
    	}
    
    	if DB.Where("Code = ?", "dont_delete").First(&p3).Error != nil {
    		t.Fatalf("An error from before delete callbacks happened")
    	}
    
    	p4 := Product{Code: "after_save_error", Price: 100}
    	DB.Save(&p4)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. docs_src/sql_databases/tutorial001_an_py310.py

            raise HTTPException(status_code=404, detail="Hero not found")
        return hero
    
    
    @app.delete("/heroes/{hero_id}")
    def delete_hero(hero_id: int, session: SessionDep):
        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        session.delete(hero)
        session.commit()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        // DELETE /api/admin/crawlinginfo/log/{id}
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
            crawlingInfoService.getCrawlingInfo(id).ifPresent(entity -> {
                try {
                    crawlingInfoService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. 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}
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
            failureUrlService.getFailureUrl(id).ifPresent(entity -> {
                try {
                    failureUrlService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. internal/logger/audit.go

    		// indicates all requests for this API call are inbound
    		entry.Trigger = "incoming"
    
    		for _, filterKey := range filterKeys {
    			delete(entry.ReqClaims, filterKey)
    			delete(entry.ReqQuery, filterKey)
    			delete(entry.ReqHeader, filterKey)
    			delete(entry.RespHeader, filterKey)
    		}
    
    		var (
    			statusCode      int
    			timeToResponse  time.Duration
    			timeToFirstByte time.Duration
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

        }
    
        // DELETE /api/admin/relatedquery/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            relatedQueryService.getRelatedQuery(id).ifPresent(entity -> {
                try {
                    relatedQueryService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/main/resources/fess_label.properties

    labels.wizard_button_finish=Skip
    labels.search_list_configuration=Search
    labels.search_list_button_delete=Delete
    labels.search_list_delete_confirmation=Do you really want to delete?
    labels.search_list_button_delete_all=Delete all with this query
    labels.search_list_delete_all_confirmation=Do you really want to delete all with this query?
    labels.search_list_button_cancel=Cancel
    labels.failure_url_configuration=Failure URL
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  8. cmd/storage-datatypes.go

    }
    
    // GetDataDir returns an expected dataDir given FileInfo
    //   - deleteMarker returns "delete-marker"
    //   - returns "legacy" if FileInfo is XLV1 and DataDir is
    //     empty, returns DataDir otherwise
    //   - returns "dataDir"
    func (fi FileInfo) GetDataDir() string {
    	if fi.Deleted {
    		return "delete-marker"
    	}
    	if fi.XLV1 && fi.DataDir == "" {
    		return "legacy"
    	}
    	return fi.DataDir
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/searchlist/admin_searchlist.jsp

                                                    </p>
                                                    <p>
                                                        <strong id="delete-doc-title"></strong><br/> <span
                                                            id="delete-doc-url"></span>
                                                    </p>
                                                </div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Sep 24 13:09:22 UTC 2020
    - 20K bytes
    - Viewed (0)
  10. internal/bucket/bandwidth/monitor.go

    	}
    }
    
    // DeleteBucket deletes monitoring the 'bucket'
    func (m *Monitor) DeleteBucket(bucket string) {
    	m.tlock.Lock()
    	for opts := range m.bucketsThrottle {
    		if opts.Name == bucket {
    			delete(m.bucketsThrottle, opts)
    		}
    	}
    	m.tlock.Unlock()
    
    	m.mlock.Lock()
    	for opts := range m.bucketsMeasurement {
    		if opts.Name == bucket {
    			delete(m.bucketsMeasurement, opts)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top