Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 302 for uniques (0.03 sec)

  1. schema/constraint.go

    	return "CONSTRAINT ? UNIQUE (?)", []interface{}{clause.Column{Name: uni.Name}, clause.Column{Name: uni.Field.DBName}}
    }
    
    // ParseUniqueConstraints parse schema unique constraints
    func (schema *Schema) ParseUniqueConstraints() map[string]UniqueConstraint {
    	uniques := make(map[string]UniqueConstraint)
    	for _, field := range schema.Fields {
    		if field.Unique {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Mar 18 07:33:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          int uniques = 1;
          for (int i = 1; i < sortedElements.length; i++) {
            if (comparator.compare(sortedElements[uniques - 1], sortedElements[i]) < 0) {
              sortedElements[uniques] = sortedElements[i];
              uniques++;
            }
          }
          Arrays.fill(sortedElements, uniques, length, null);
          if (maybeExpand && uniques * 4 > length * 3) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  3. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Vous devez vous assurer qu'il est unique pour chaque opération.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial001.py hl[6] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                return userCode;
            }
            return null;
        }
    
        /**
         * Generates a new unique identifier for user tracking.
         * Creates a UUID and removes hyphens to create a clean identifier string.
         *
         * @return a new unique identifier string
         */
        protected String getId() {
            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/JobHelper.java

            });
        }
    
        /**
         * Finds a scheduled job by its unique identifier.
         *
         * @param jobUnique the unique identifier of the job
         * @return an optional containing the scheduled job if found, empty otherwise
         */
        private OptionalThing<LaScheduledJob> findJobByUniqueOf(final LaJobUnique jobUnique) {
            final JobManager jobManager = ComponentUtil.getJobManager();
            try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. schema/index_test.go

    }
    
    func TestParseIndexWithUniqueIndexAndUnique(t *testing.T) {
    	type IndexTest struct {
    		FieldA string `gorm:"unique;index"` // unique and index
    		FieldB string `gorm:"unique"`       // unique
    
    		FieldC string `gorm:"index:,unique"`     // uniqueIndex
    		FieldD string `gorm:"uniqueIndex;index"` // uniqueIndex and index
    
    		FieldE1 string `gorm:"uniqueIndex:uniq_field_e1_e2"` // mul uniqueIndex
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Dec 06 02:27:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. migrator/index.go

    // PrimaryKey returns the index is primary key or not.
    func (idx Index) PrimaryKey() (isPrimaryKey bool, ok bool) {
    	return idx.PrimaryKeyValue.Bool, idx.PrimaryKeyValue.Valid
    }
    
    // Unique returns whether the index is unique or not.
    func (idx Index) Unique() (unique bool, ok bool) {
    	return idx.UniqueValue.Bool, idx.UniqueValue.Valid
    }
    
    // Option return the optional attribute of the index
    func (idx Index) Option() string {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Apr 11 02:32:46 UTC 2023
    - 1023 bytes
    - Viewed (0)
  8. schema/index.go

    							return
    						}
    						subName = composite
    					}
    					name = field.Schema.namer.IndexName(
    						field.Schema.Table, subName)
    				}
    
    				if (k == "UNIQUEINDEX") || settings["UNIQUE"] != "" {
    					settings["CLASS"] = "UNIQUE"
    				}
    
    				priority, err := strconv.Atoi(settings["PRIORITY"])
    				if err != nil {
    					priority = 10
    				}
    
    				indexes = append(indexes, Index{
    					Name:    name,
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed May 21 02:35:56 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/generate-clients.md

    In this case, you will have to ensure that each operation ID is **unique** in some other way.
    
    For example, you could make sure that each *path operation* has a tag, and then generate the operation ID based on the **tag** and the *path operation* **name** (the function name).
    
    ### Custom Generate Unique ID Function { #custom-generate-unique-id-function }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.1K bytes
    - Viewed (1)
  10. tests/table_test.go

    		if err != nil {
    			t.Fatalf("failed to parse user unique, got error %v", err)
    		}
    
    		constraints := user.ParseUniqueConstraints()
    		if len(constraints) != 1 {
    			t.Fatalf("failed to find unique constraint, got %v", constraints)
    		}
    
    		for key := range constraints {
    			if len(key) != 63 {
    				t.Errorf("failed to find unique constraint, got %v", constraints)
    			}
    		}
    	})
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top