Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,479 for namer (0.13 sec)

  1. schema/constraint.go

    		if chk := field.TagSettings["CHECK"]; chk != "" {
    			names := strings.Split(chk, ",")
    			if len(names) > 1 && regEnLetterAndMidline.MatchString(names[0]) {
    				checks[names[0]] = CheckConstraint{Name: names[0], Constraint: strings.Join(names[1:], ","), Field: field}
    			} else {
    				if names[0] == "" {
    					chk = strings.Join(names[1:], ",")
    				}
    				name := schema.namer.CheckerName(schema.Table, field.DBName)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 07:33:54 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. tests/table_test.go

    	if !regexp.MustCompile("SELECT \\* FROM \\(SELECT .name. FROM .users. WHERE name = .+ AND .users.\\..deleted_at. IS NULL\\) as u, \\(SELECT .name. FROM .pets. WHERE name = .+ AND .pets.\\..deleted_at. IS NULL\\) as p WHERE name = .+ AND name = .+ AND .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. schema/relationship.go

    			lookUpName := primarySchemaName + primaryField.Name
    			if gl == guessBelongs {
    				lookUpName = field.Name + primaryField.Name
    			}
    
    			lookUpNames := []string{lookUpName}
    			if len(primaryFields) == 1 {
    				lookUpNames = append(lookUpNames, strings.TrimSuffix(lookUpName, primaryField.Name)+"ID",
    					strings.TrimSuffix(lookUpName, primaryField.Name)+"Id", schema.namer.ColumnName(foreignSchema.Table,
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  4. schema/field.go

    	var (
    		err        error
    		tagSetting = ParseTagSetting(fieldStruct.Tag.Get("gorm"), ";")
    	)
    
    	field := &Field{
    		Name:                   fieldStruct.Name,
    		DBName:                 tagSetting["COLUMN"],
    		BindNames:              []string{fieldStruct.Name},
    		EmbeddedBindNames:      []string{fieldStruct.Name},
    		FieldType:              fieldStruct.Type,
    		IndirectFieldType:      fieldStruct.Type,
    		StructField:            fieldStruct,
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  5. tests/migrate_test.go

    	checkField(&UniqueStruct5{}, "name", false, "idx_unique_struct5_name")
    	checkField(&UniqueStruct6{}, "name", false, "idx_unique_struct6_name")
    
    	checkField(&UniqueStruct7{}, "name", false, "")
    	checkField(&UniqueStruct7{}, "nick_name", false, "")
    	checkField(&UniqueStruct7{}, "nick_name", false, "")
    
    	type UniqueStruct8 struct { // unique and uniqueIndex
    		Name string `gorm:"size:60;unique;index:my_us8_index,unique;"`
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. internal/event/name.go

    		return []Name{
    			ObjectManyVersions,
    			ObjectLargeVersions,
    			PrefixManyFolders,
    		}
    	case Everything:
    		res := make([]Name, objectSingleTypesEnd-1)
    		for i := range res {
    			res[i] = Name(i + 1)
    		}
    		return res
    	default:
    		return []Name{name}
    	}
    }
    
    // Mask returns the type as mask.
    // Compound "All" types are expanded.
    func (name Name) Mask() uint64 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. internal/event/name_test.go

    	var blankName Name
    
    	testCases := []struct {
    		data         []byte
    		expectedName Name
    		expectErr    bool
    	}{
    		{[]byte("<Name>s3:ObjectAccessed:*</Name>"), ObjectAccessedAll, false},
    		{[]byte("<Name>s3:ObjectRemoved:Delete</Name>"), ObjectRemovedDelete, false},
    		{[]byte("<Name>s3:ObjectRemoved:NoOP</Name>"), ObjectRemovedNoOP, false},
    		{[]byte("<Name></Name>"), blankName, true},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        populateForRowKeySet(table, elements);
                        return table.rowKeySet();
                      }
                    })
                .named("ArrayTable.rowKeySet")
                .withFeatures(
                    CollectionSize.ONE,
                    CollectionSize.SEVERAL,
                    CollectionFeature.KNOWN_ORDER,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        putEntries(map, entries);
                        return Maps.unmodifiableNavigableMap(map);
                      }
                    })
                .named("unmodifiableNavigableMap[SafeTreeMap]")
                .withFeatures(
                    CollectionSize.ANY, MapFeature.ALLOWS_NULL_VALUES, CollectionFeature.SERIALIZABLE)
                .createTestSuite());
        suite.addTest(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

        isCanBeConsumed = false
        attributes {
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_API))
            attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.EXTERNAL))
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.CLASSES))
        }
    }
    notForAccessorGeneration {
        dependencies {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 03 13:29:44 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top