- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 122 for Constraint (0.14 seconds)
-
errors.go
// ErrDuplicatedKey occurs when there is a unique key constraint violation ErrDuplicatedKey = errors.New("duplicated key not allowed") // ErrForeignKeyViolated occurs when there is a foreign key constraint violation ErrForeignKeyViolated = errors.New("violates foreign key constraint") // ErrCheckConstraintViolated occurs when there is a check constraint violation ErrCheckConstraintViolated = errors.New("violates check constraint")
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 26 02:53:17 GMT 2024 - 2.5K bytes - Click Count (0) -
src/cmd/asm/internal/lex/tokenizer.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package lex import ( "go/build/constraint" "io" "os" "strings" "text/scanner" "unicode" "cmd/asm/internal/flags" "cmd/internal/objabi" "cmd/internal/src" ) // A Tokenizer is a simple wrapping of text/scanner.Scanner, configured
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Aug 04 20:35:21 GMT 2022 - 3K bytes - Click Count (0) -
clause/on_conflict.go
func (OnConflict) Name() string { return "ON CONFLICT" } // Build build onConflict clause func (onConflict OnConflict) Build(builder Builder) { if onConflict.OnConstraint != "" { builder.WriteString("ON CONSTRAINT ") builder.WriteString(onConflict.OnConstraint) builder.WriteByte(' ') } else { if len(onConflict.Columns) > 0 { builder.WriteByte('(') for idx, column := range onConflict.Columns { if idx > 0 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Oct 07 05:46:20 GMT 2022 - 1.3K bytes - Click Count (0) -
tests/multi_primary_keys_test.go
} if name := DB.Dialector.Name(); name == "postgres" { t.Skip("skip postgres due to it only allow unique constraint matching given keys") } if name := DB.Dialector.Name(); name == "gaussdb" { t.Skip("skip gaussdb due to it only allow unique constraint matching given keys") } DB.Migrator().DropTable(&Blog{}, &Tag{}, "blog_tags", "locale_blog_tags", "shared_blog_tags")
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 13.1K bytes - Click Count (0) -
migrator.go
DropColumn(dst interface{}, field string) error AlterColumn(dst interface{}, field string) error MigrateColumn(dst interface{}, field *schema.Field, columnType ColumnType) error // MigrateColumnUnique migrate column's UNIQUE constraint, it's part of MigrateColumn. MigrateColumnUnique(dst interface{}, field *schema.Field, columnType ColumnType) error HasColumn(dst interface{}, field string) bool RenameColumn(dst interface{}, oldName, field string) error
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
} @Override protected Map<Class<? extends @NonNull B>, B> delegate() { return delegate; } /** * Wraps the {@code setValue} implementation of an {@code Entry} to enforce the class constraint. */ private static <B extends @Nullable Object> Entry<Class<? extends @NonNull B>, B> checkedEntry( Entry<Class<? extends @NonNull B>, B> entry) { return new ForwardingMapEntry<Class<? extends @NonNull B>, B>() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 22:10:29 GMT 2025 - 6.7K bytes - Click Count (0) -
schema/interfaces.go
package schema import ( "gorm.io/gorm/clause" ) // ConstraintInterface database constraint interface type ConstraintInterface interface { GetName() string Build() (sql string, vars []interface{}) } // GormDataTypeInterface gorm data type interface type GormDataTypeInterface interface { GormDataType() string } // FieldNewValuePool field new scan value pool type FieldNewValuePool interface { Get() interface{}Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Feb 04 07:49:19 GMT 2024 - 980 bytes - Click Count (0) -
tests/gaussdb_test.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 6.6K bytes - Click Count (0) -
cmd/handler-utils.go
replaceDirective = "REPLACE" accessDirective = "ACCESS" ) // Parses location constraint from the incoming reader. func parseLocationConstraint(r *http.Request) (location string, s3Error APIErrorCode) { // If the request has no body with content-length set to 0, // we do not have to validate location constraint. Bucket will // be created at default region. locationConstraint := createBucketLocationConfiguration{}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.4K bytes - Click Count (1) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java
import org.apache.maven.api.annotations.Nonnull; /** * Represents the result of a version range resolution request. This interface provides access to * information about resolved versions that match a version range constraint, including any exceptions * that occurred during resolution, the available versions, and their source repositories. * * <p>The versions returned by this interface are guaranteed to be in ascending order.</p> *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 3.4K bytes - Click Count (0)