- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 69 for CONSTRAINT (0.1 seconds)
-
tests/table_test.go
} constraints := user.ParseUniqueConstraints() if len(constraints) != 1 { t.Fatalf("failed to find unique constraint, got %v", constraints) } for key := range constraints { if len(key) != 63 { t.Errorf("failed to find unique constraint, got %v", constraints) } } }) t.Run("naming strategy", func(t *testing.T) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 12.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/validation/UriType.java
import jakarta.validation.Constraint; import jakarta.validation.Payload; /** * Validation annotation for URI type constraints. * This annotation validates URI strings based on specified protocol types. */ @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER }) @Retention(RUNTIME) @Documented @Constraint(validatedBy = UriTypeValidator.class) public @interface UriType {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.1K 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 Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Oct 07 05:46:20 GMT 2022 - 1.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
assertNotNull(documented); } // Test annotation has Constraint meta-annotation @Test public void test_annotationConstraint() { jakarta.validation.Constraint constraint = CronExpression.class.getAnnotation(jakarta.validation.Constraint.class); assertNotNull(constraint); Class<?>[] validators = constraint.validatedBy(); assertEquals(1, validators.length);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
} // Test Constraint annotation @Test public void test_constraintAnnotation() { final Constraint constraint = CustomSize.class.getAnnotation(Constraint.class); assertNotNull(constraint, "Constraint annotation should be present"); assertEquals("Validator class should be CustomSizeValidator", CustomSizeValidator.class, constraint.validatedBy()[0]); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K 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 Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Aug 04 20:35:21 GMT 2022 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
} // Test Constraint annotation @Test public void test_constraintAnnotation() { final Constraint constraint = UriType.class.getAnnotation(Constraint.class); assertNotNull(constraint, "Constraint annotation should be present"); assertEquals("Validator class should be UriTypeValidator", UriTypeValidator.class, constraint.validatedBy()[0]);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.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 Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:27:38 GMT 2026 - 13.3K 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 Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Feb 04 07:49:19 GMT 2024 - 980 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java
import org.lastaflute.job.util.LaCronUtil; import jakarta.validation.ConstraintValidator; import jakarta.validation.ConstraintValidatorContext; /** * Validator implementation for the CronExpression constraint. */ public class CronExpressionValidator implements ConstraintValidator<CronExpression, String> { /** * Default constructor. */ public CronExpressionValidator() { // Empty constructor
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (0)