Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for constraint (0.25 sec)

  1. migrator/migrator.go

    		currentDatabase := m.DB.Migrator().CurrentDatabase()
    		constraint, table := m.GuessConstraintInterfaceAndTable(stmt, name)
    		if constraint != nil {
    			name = constraint.GetName()
    		}
    
    		return m.DB.Raw(
    			"SELECT count(*) FROM INFORMATION_SCHEMA.table_constraints WHERE constraint_schema = ? AND table_name = ? AND constraint_name = ?",
    			currentDatabase, table, name,
    		).Row().Scan(&count)
    	})
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  2. schema/relationship.go

    	sql = "CONSTRAINT ? FOREIGN KEY ? REFERENCES ??"
    	if constraint.OnDelete != "" {
    		sql += " ON DELETE " + constraint.OnDelete
    	}
    
    	if constraint.OnUpdate != "" {
    		sql += " ON UPDATE " + constraint.OnUpdate
    	}
    
    	foreignKeys := make([]interface{}, 0, len(constraint.ForeignKeys))
    	for _, field := range constraint.ForeignKeys {
    		foreignKeys = append(foreignKeys, clause.Column{Name: field.DBName})
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  3. .idea/inspectionProfiles/Gradle.xml

            <constraint name="__context__" within="" contains="" />
            <constraint name="TYPE" within="" contains="" />
            <constraint name="ARR" nameOfExprType=".*\[\]" within="" contains="" />
            <constraint name="RES" nameOfExprType="boolean" exprTypeWithinHierarchy="true" within="" contains="" />
            <constraint name="ITEM" within="" contains="" />
            <constraint name="TARGET" within="" contains="" />
    XML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 13:39:08 GMT 2024
    - 13K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenVersionScheme.java

            return delegate.parseVersionRange(range);
        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) throws InvalidVersionSpecificationException {
            return delegate.parseVersionConstraint(constraint);
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

         */
        @Nonnull
        VersionRange parseVersionRange(@Nonnull String range);
    
        /**
         * Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0)".
         *
         * @param constraint the range specification to parse, must not be {@code null}
         * @return the parsed version constraint, never {@code null}
         * @throws VersionParserException if the range specification violates the syntax rules of this scheme
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) {
            requireNonNull(constraint, "constraint");
            return new DefaultVersionConstraint(versionScheme, constraint);
        }
    
        static class DefaultVersion implements Version {
            private final VersionScheme versionScheme;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  7. 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")
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 02:53:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultVersionParser.java

            return modelVersionParser.parseVersionRange(range);
        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) {
            return modelVersionParser.parseVersionConstraint(constraint);
        }
    
        @Override
        public boolean isSnapshot(String version) {
            return modelVersionParser.isSnapshot(version);
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. tensorflow/BUILD

    config_setting(
        name = "android",
        constraint_values = if_google(
            ["//third_party/bazel_platforms/os:android"],
            [],
        ),
        values = if_oss(
            {"crosstool_top": "//external:android/crosstool"},
            {},
        ),
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "android_x86",
        constraint_values = if_google(
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  10. 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{}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
Back to top