Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 921 - 930 of 946 for v1only (0.04 seconds)

  1. tests/migrate_test.go

    						columnType.Name(), columnType.DatabaseTypeName(), dataType, columnType)
    				}
    			}
    		}
    	}
    }
    
    func TestTableType(t *testing.T) {
    	// currently it is only supported for mysql driver
    	if !isMysql() {
    		return
    	}
    
    	const tblName = "cities"
    	const tblSchema = "gorm"
    	const tblType = "BASE TABLE"
    	const tblComment = "foobar comment"
    
    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. generics.go

    	Updates(ctx context.Context, t T) (rowsAffected int, err error)
    	Count(ctx context.Context, column string) (result int64, err error)
    }
    
    // SetUpdateOnlyInterface is returned by Set after chaining; only Update is allowed
    type SetUpdateOnlyInterface[T any] interface {
    	Update(ctx context.Context) (rowsAffected int, err error)
    }
    
    // SetCreateOrUpdateInterface is returned by Set at start; Create or Update are allowed
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  3. migrator/migrator.go

    		return nil // skip primary key
    	}
    	// By default, ColumnType's Unique is not affected by UniqueIndex, so we don't care about UniqueIndex.
    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		// We're currently only receiving boolean values on `Unique` tag,
    		// so the UniqueConstraint name is fixed
    		constraint := m.DB.NamingStrategy.UniqueName(stmt.Table, field.DBName)
    		if unique && !field.Unique {
    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)
  4. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

    import org.codehaus.plexus.util.xml.Xpp3Dom;
    
    /**
     * This is a hand-crafted prototype of the default model merger that should eventually be generated by Modello by a new
     * Java plugin. Code structure to merge source (read-only) object into the target object is:<ul>
     * <li><code>merge<i>Classname</i>( <i>Classname</i> target, <i>Classname</i> source, boolean sourceDominant,
     * Map&lt;Object, Object&gt; context )</code> for each model class</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
  5. fastapi/dependencies/utils.py

                from multipart import __version__  # type: ignore[no-redef,import-untyped]
    
                assert __version__
                try:
                    # parse_options_header is only available in the right multipart
                    from multipart.multipart import (  # type: ignore[import-untyped]
                        parse_options_header,
                    )
    
                    assert parse_options_header
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 37.6K bytes
    - Click Count (3)
  6. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                        project.getGroupId(), project.getArtifactId(), project.getVersion(), null, project.getPackaging());
                project.setArtifact(projectArtifact);
    
                // only set those on 2nd phase, ignore on 1st pass
                if (project.getFile() != null) {
                    Build build = project.getBuild().getDelegate();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  7. tests/preload_suits_test.go

    		t.Skip("skip sqlite, sqlserver due to it doesn't support multiple primary keys with auto increment")
    	}
    
    	if name := DB.Dialector.Name(); name == "mysql" {
    		t.Skip("skip mysql due to it only allow unique constraint matching given keys")
    	}
    
    	type (
    		Level1 struct {
    			ID           uint   `gorm:"primary_key;"`
    			LanguageCode string `gorm:"primary_key"`
    			Value        string
    		}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jun 05 11:34:13 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  8. src/bytes/bytes_test.go

    	})
    	b.Run("Cyrillic", func(b *testing.B) {
    		// Cyrillic is mostly 2 and 3 byte runes.
    		benchBytes(b, indexSizes, bmIndexRuneUnicode(unicode.Cyrillic, 'Ꙁ'))
    	})
    	b.Run("Han", func(b *testing.B) {
    		// Han consists only of 3 and 4 byte runes.
    		benchBytes(b, indexSizes, bmIndexRuneUnicode(unicode.Han, '𠀿'))
    	})
    }
    
    func bmIndexRuneASCII(index func([]byte, rune) int) func(b *testing.B, n int) {
    	return func(b *testing.B, n int) {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

         * <p>Deals correctly with quotes and control-chars (tab, backslash, cr, ff, etc.) </p>
         *
         * <p>So a tab becomes the characters <code>'\\'</code> and
         * <code>'t'</code>.</p>
         *
         * <p>The only difference between Java strings and JavaScript strings
         * is that in JavaScript, a single quote must be escaped.</p>
         *
         * <p>Example:</p>
         * <pre>
         * input string: He didn't say, "Stop!"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

         * <p>Deals correctly with quotes and control-chars (tab, backslash, cr, ff, etc.) </p>
         *
         * <p>So a tab becomes the characters <code>'\\'</code> and
         * <code>'t'</code>.</p>
         *
         * <p>The only difference between Java strings and JavaScript strings
         * is that in JavaScript, a single quote must be escaped.</p>
         *
         * <p>Example:</p>
         * <pre>
         * input string: He didn't say, "Stop!"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
Back to Top