Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 697 for delete1 (0.07 sec)

  1. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 9.5K 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Mar 09 09:07:00 UTC 2020
    - 359 bytes
    - Viewed (0)
  3. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

        }
    
        /**
         * Deletes all documents associated with the specified session ID from the given index.
         *
         * @param searchEngineClient the search engine client to use for deletion
         * @param index the index name to delete documents from
         * @param sessionId the session ID to delete documents for
         * @return the number of documents that were deleted
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

         */
        SuggestWriterResult delete(Client client, SuggestSettings settings, String index, String id);
    
        /**
         * Deletes documents from the specified index based on the given query.
         *
         * @param client the OpenSearch client to use for the operation
         * @param settings the suggest settings to apply
         * @param index the name of the index from which documents will be deleted
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                reload(updater);
            }
        }
    
        /**
         * Deletes a character mapping item from the dictionary file.
         *
         * @param item the character mapping item to delete
         */
        @Override
        public synchronized void delete(final CharMappingItem item) {
            final CharMappingItem mappingItem = item;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlFilterService.java

         */
        void addExcludeUrlFilter(String sessionId, List<String> urlList);
    
        /**
         * Deletes the URL filter associated with the specified session ID.
         *
         * @param sessionId the ID of the session whose URL filter is to be deleted
         */
        void delete(String sessionId);
    
        /**
         * Deletes all entries from the URL filter.
         */
        void deleteAll();
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

        }
    
        /**
         * Deletes a crawling information record and all its associated parameters.
         * First deletes all related CrawlingInfoParam records, then deletes the main record
         * with immediate refresh to ensure consistency.
         *
         * @param crawlingInfo the crawling information entity to delete
         */
        public void delete(final CrawlingInfo crawlingInfo) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

         */
        public void delete(final DuplicateHost duplicateHost) {
    
            duplicateHostBhv.delete(duplicateHost, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
         * Retrieves all duplicate host configurations without pagination.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top