Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 274 for UNIQUE (0.04 seconds)

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

  1. 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
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Dec 06 02:27:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  2. 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,
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed May 21 02:35:56 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. tests/migrate_test.go

    		if field == nil {
    			t.Fatalf("%v: failed to find column %q", utils.FileWithLineNum(), fieldName)
    		}
    		if field.Unique != unique {
    			t.Fatalf("%v: %q column %q unique should be %v but got %v", utils.FileWithLineNum(), stmt.Schema.Table, fieldName, unique, field.Unique)
    		}
    		if field.UniqueIndex != uniqueIndex {
    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)
  4. 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 }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.1K bytes
    - Click Count (1)
  5. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

            faultCodes.add(DcerpcError.DCERPC_FAULT_UNK_IF);
            faultCodes.add(DcerpcError.DCERPC_FAULT_PROTO_ERROR);
    
            // Verify all 9 codes are unique
            assertEquals(9, faultCodes.size(), "All fault codes should be unique");
        }
    
        @Test
        @DisplayName("Should verify fault code value ranges and patterns")
        void testFaultCodeValueRanges() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

     */
    public interface UrlQueue<IDTYPE> {
    
        /**
         * Retrieves the unique identifier of the URL queue.
         *
         * @return the unique identifier of type IDTYPE.
         */
        IDTYPE getId();
    
        /**
         * Sets the unique identifier for the URL queue.
         *
         * @param id the unique identifier to set
         */
        void setId(IDTYPE id);
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
       * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface.
       */
      @Override
      public Set<V> get(@ParametricNullness K key) {
        return (Set<V>) super.get(key);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py

        "tutorial004": dedent("""
            Create an item with all the information:
    
            - **name**: each item must have a name
            - **description**: a long description
            - **price**: required
            - **tax**: if the item doesn't have tax, you can omit this
            - **tags**: a set of unique tag strings for this item
        """).strip(),
    }
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  9. fastapi/routing.py

                ),
            ] = True,
            generate_unique_id_function: Annotated[
                Callable[[APIRoute], str],
                Doc(
                    """
                    Customize the function used to generate unique IDs for the *path
                    operations* shown in the generated OpenAPI.
    
                    This is particularly useful when automatically generating clients or
                    SDKs for your API.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  10. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            validator.validate(settings, problems);
            assertEquals(1, problems.messages.size());
            assertContains(
                    problems.messages.get(0), "'servers.server.id' must be unique but found duplicate server with id test");
        }
    
        @Test
        void testValidateUniqueProfileId() throws Exception {
            Settings settings = new Settings();
            Profile profile1 = new Profile();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top