Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,442 for delete (0.14 sec)

  1. tests/prepared_stmt_test.go

    		t.Errorf("Failed to commit transaction, got error %v\n", err)
    	}
    
    	if result := db.Where("name=?", "zzjin").Delete(&User{}); result.Error != nil || result.RowsAffected != 1 {
    		t.Fatalf("Failed, got error: %v, rows affected: %v", result.Error, result.RowsAffected)
    	}
    
    	tx2 := db.Begin()
    	if result := tx2.Where("name=?", "zzjin").Delete(&User{}); result.Error != nil || result.RowsAffected != 0 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. docs_src/sql_databases/tutorial001_py39.py

            raise HTTPException(status_code=404, detail="Hero not found")
        return hero
    
    
    @app.delete("/heroes/{hero_id}")
    def delete_hero(hero_id: int, session: Session = Depends(get_session)):
        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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

        //                                         Actually Crud
        //                                         -------------
        /**
         * Delete a crawling info.
         * @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);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

        }
    
        /**
         * Delete a character mapping entry by ID from the specified dictionary.
         *
         * @param dictId identifier of the dictionary
         * @param id identifier of the mapping entry to delete
         * @return JSON response containing deletion result and entry ID
         */
        // DELETE /api/admin/dict/mapping/setting/{dictId}/{id}
        @Execute
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.transport.client.Client;
    
    /**
     * SuggestIndexWriter is an implementation of the SuggestWriter interface that provides methods to write, delete,
     * and delete by query suggest items in an OpenSearch index.
     */
    public class SuggestIndexWriter implements SuggestWriter {
        /**
         * Constructs a new {@link SuggestIndexWriter}.
         */
        public SuggestIndexWriter() {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 20 08:32:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                }
            }
    
            /**
             * Deletes a single file and any empty parent directories.
             *
             * @param path the file path to delete
             */
            protected void deleteFile(final Path path) {
                try {
                    Files.delete(path);
                    if (logger.isDebugEnabled()) {
                        logger.debug("Deleted thumbnail file: {}", path);
                    }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-ldap.sh

    	exit_1
    fi
    
    sleep 10
    
    ./mc admin user svcacct info minio2 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    ./mc admin user svcacct info minio3 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    ./mc mb minio1/newbucket
    # copy large upload to newbucket on minio1
    truncate -s 17M lrgfile
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/expiration.go

    	// Indicates whether MinIO will remove all versions. If set to true, all versions will be deleted;
    	// if set to false the policy takes no action. This action uses the Days/Date to expire objects.
    	// This check is verified for latest version of the object.
    	DeleteAll Boolean `xml:"ExpiredObjectAllVersions"`
    
    	set bool
    }
    
    // MarshalXML encodes delete marker boolean into an XML form.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

         */
        private
        fun cleanUp(filesToCleanUp: Collection<File>) {
            try {
                fileSystemOperations.delete {
                    delete(*filesToCleanUp.toTypedArray())
                }
            } catch (e: Exception) {
                // https://github.com/gradle/gradle-private/issues/2983#issuecomment-596083202
                e.printStackTrace()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Nov 05 11:43:49 UTC 2025
    - 12.5K bytes
    - Viewed (1)
Back to top