Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for 1dbname (0.17 sec)

  1. schema/field_test.go

    	}
    
    	fields := []*schema.Field{
    		{Name: "ID", DBName: "id", BindNames: []string{"ID"}, DataType: schema.Uint, PrimaryKey: true, Size: 64, Creatable: true, Updatable: true, Readable: true, HasDefaultValue: true, AutoIncrement: true},
    		{Name: "Name", DBName: "", BindNames: []string{"Name"}, DataType: "", Tag: `gorm:"-"`, Creatable: false, Updatable: false, Readable: false},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java

            // *no use DBFlute classification
            return null;
            //String searchName = classificationName;
            //if (classificationName.contains(".")) {
            //    final String dbName = Srl.substringFirstFront(classificationName, ".");
            //    if (dbName.equals(DBCurrent.getInstance().projectName())) {
            //        searchName = Srl.substringFirstRear(classificationName, ".");
            //    } else {
            //        return null;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. finisher_api.go

    		if len(tx.Statement.Selects) == 1 {
    			dbName := tx.Statement.Selects[0]
    			fields := strings.FieldsFunc(dbName, utils.IsValidDBNameChar)
    			if len(fields) == 1 || (len(fields) == 3 && (strings.ToUpper(fields[1]) == "AS" || fields[1] == ".")) {
    				if tx.Statement.Parse(tx.Statement.Model) == nil {
    					if f := tx.Statement.Schema.LookUpField(dbName); f != nil {
    						dbName = f.DBName
    					}
    				}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  4. soft_delete.go

    	if stmt.SQL.Len() == 0 && !stmt.Statement.Unscoped {
    		curTime := stmt.DB.NowFunc()
    		stmt.AddClause(clause.Set{{Column: clause.Column{Name: sd.Field.DBName}, Value: curTime}})
    		stmt.SetColumn(sd.Field.DBName, curTime, true)
    
    		if stmt.Schema != nil {
    			_, queryValues := schema.GetIdentityFieldValuesMap(stmt.Context, stmt.ReflectValue, stmt.Schema.PrimaryFields)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Feb 01 06:40:55 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/BsJobLog.java

            this.endTime = value;
        }
    
        public String getJobName() {
            checkSpecifiedProperty("jobName");
            return convertEmptyToNull(jobName);
        }
    
        public void setJobName(String value) {
            registerModifiedProperty("jobName");
            this.jobName = value;
        }
    
        public String getJobStatus() {
            checkSpecifiedProperty("jobStatus");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. callbacks/associations.go

    	if len(defaultUpdatingColumns) > 0 || stmt.DB.FullSaveAssociations {
    		onConflict.Columns = make([]clause.Column, 0, len(s.PrimaryFieldDBNames))
    		for _, dbName := range s.PrimaryFieldDBNames {
    			onConflict.Columns = append(onConflict.Columns, clause.Column{Name: dbName})
    		}
    
    		onConflict.UpdateAll = stmt.DB.FullSaveAssociations
    		if !onConflict.UpdateAll {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Apr 11 03:06:13 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. association.go

    				if ref.OwnPrimaryKey {
    					primaryFields = append(primaryFields, ref.PrimaryKey)
    					foreignKeys = append(foreignKeys, ref.ForeignKey.DBName)
    					updateMap[ref.ForeignKey.DBName] = nil
    				} else if ref.PrimaryValue != "" {
    					tx.Where(clause.Eq{Column: ref.ForeignKey.DBName, Value: ref.PrimaryValue})
    				}
    			}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu May 04 11:30:45 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  8. tests/query_test.go

    				t.Run(name, func(t *testing.T) {
    					dbName := DB.NamingStrategy.ColumnName("", name)
    
    					switch name {
    					case "Name":
    						if _, ok := first[dbName].(string); !ok {
    							t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName])
    						}
    					case "Age":
    						if _, ok := first[dbName].(uint); !ok {
    							t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName])
    						}
    					case "Birthday":
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  9. schema/constraint.go

    }
    
    // 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 {
    			name := schema.namer.UniqueName(schema.Table, field.DBName)
    			uniques[name] = UniqueConstraint{Name: name, Field: field}
    		}
    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)
  10. callbacks/preload.go

    				relForeignKeys = append(relForeignKeys, ref.ForeignKey.DBName)
    				relForeignFields = append(relForeignFields, ref.ForeignKey)
    				foreignFields = append(foreignFields, ref.PrimaryKey)
    			} else if ref.PrimaryValue != "" {
    				tx = tx.Where(clause.Eq{Column: ref.ForeignKey.DBName, Value: ref.PrimaryValue})
    			} else {
    				relForeignKeys = append(relForeignKeys, ref.PrimaryKey.DBName)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top