Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for idx_name (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/migrate_test.go

    	DB.Migrator().DropTable(&UserWithUniqueIndex{})
    	if err := DB.AutoMigrate(&UserWithUniqueIndex{}); err != nil {
    		t.Fatalf("failed to migrate, got %v", err)
    	}
    
    	if !DB.Migrator().HasIndex(&UserWithUniqueIndex{}, "idx_name") {
    		t.Errorf("Failed to find created index")
    	}
    
    	if !DB.Migrator().HasIndex(&UserWithUniqueIndex{}, "idx_user_with_unique_indices_u_name") {
    		t.Errorf("Failed to find created index")
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Aug 20 04:51:17 GMT 2025
    - 65.2K bytes
    - Click Count (0)
  2. schema/naming_test.go

    	ns := NamingStrategy{
    		TablePrefix:   "public.",
    		SingularTable: true,
    		NameReplacer:  strings.NewReplacer("CID", "Cid"),
    	}
    	idxName := ns.IndexName("public.table", "name")
    
    	if idxName != "idx_public_table_name" {
    		t.Errorf("invalid index name generated, got %v", idxName)
    	}
    
    	chkName := ns.CheckerName("public.table", "name")
    	if chkName != "chk_public_table_name" {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue May 30 02:00:48 GMT 2023
    - 7K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                        } else {
                            String idName = result.group(2);
                            if (idName.isEmpty()) {
                                errorsForFile.add(new Error(lineNumber, line, "Missing section reference for link to " + fileName));
                            } else {
                                if (!fileContainsText(referencedFile, "[[" + idName + "]]")) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

        }
    
        @Test
        public void testSpecialCharactersInIndexName() {
            // Test index name with special characters
            builder.setSettingsIndexName("Test-Index_Name.2024");
            assertEquals("test-index_name.2024", builder.settingsIndexName);
    
            // Test index name with spaces (should be lowercased)
            builder.setSettingsIndexName("Test Index Name");
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  5. utils/utils_test.go

    package utils
    
    import (
    	"database/sql"
    	"database/sql/driver"
    	"errors"
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestIsInvalidDBNameChar(t *testing.T) {
    	for _, db := range []string{"db", "dbName", "db_name", "db1", "1dbname", "db$name"} {
    		if fields := strings.FieldsFunc(db, IsInvalidDBNameChar); len(fields) != 1 {
    			t.Fatalf("failed to parse db name %v", db)
    		}
    	}
    }
    
    func TestCheckTruth(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/FileNotifyInformationTest.java

            void testFileNotifyChangeName() {
                assertEquals(0x00000003, FileNotifyInformation.FILE_NOTIFY_CHANGE_NAME);
                // Verify it's a combination of FILE_NAME and DIR_NAME
                assertEquals(FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME | FileNotifyInformation.FILE_NOTIFY_CHANGE_DIR_NAME,
                        FileNotifyInformation.FILE_NOTIFY_CHANGE_NAME);
            }
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  7. migrator/migrator.go

    			if idx := stmt.Schema.LookIndex(name); idx != nil {
    				name = idx.Name
    			}
    		}
    
    		return m.DB.Raw(
    			"SELECT count(*) FROM information_schema.statistics WHERE table_schema = ? AND table_name = ? AND index_name = ?",
    			currentDatabase, stmt.Table, name,
    		).Row().Scan(&count)
    	})
    
    	return count > 0
    }
    
    // RenameIndex rename index from oldName to newName
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Oct 26 12:31:09 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.23.md

      - *apiserver_cache_list_total*: Counter of LIST requests served from watch cache, broken down by resource_prefix and index_name
      - *apiserver_cache_list_fetched_objects_total*: Counter of objects read from watch cache in the course of serving a LIST request, broken down by resource_prefix and index_name
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Tue Feb 28 21:06:52 GMT 2023
    - 424.5K bytes
    - Click Count (0)
Back to Top