Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NOTNULL (0.07 sec)

  1. tests/default_value_test.go

    )
    
    func TestDefaultValue(t *testing.T) {
    	type Harumph struct {
    		gorm.Model
    		Email   string    `gorm:"not null;index:,unique"`
    		Name    string    `gorm:"notNull;default:foo"`
    		Name2   string    `gorm:"size:233;not null;default:'foo'"`
    		Name3   string    `gorm:"size:233;notNull;default:''"`
    		Age     int       `gorm:"default:18"`
    		Created time.Time `gorm:"default:2000-01-02"`
    		Enabled bool      `gorm:"default:true"`
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

            return this;
        }
    
        @Override
        public List<String> getModelIds() {
            return modelIds;
        }
    
        public DefaultModelBuildingResult addModelId(String modelId) {
            // Intentionally notNull because Super POM may not contain a modelId
            Objects.requireNonNull(modelId, "modelId cannot null");
    
            modelIds.add(modelId);
    
            return this;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/mail/EsStatusPostcard.java

        /**
         * Set the value of hostname, used in parameter comment. <br>
         * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty.
         * @param hostname The parameter value of hostname. (NotNull)
         */
        public void setHostname(String hostname) {
            registerVariable("hostname", hostname);
        }
    
        /**
         * Set the value of clustername, used in parameter comment. <br>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. schema/index_test.go

    			},
    		},
    		{
    			Class:  "UNIQUE",
    			Name:   "idx_user_indices_idx_compname_1",
    			Option: "NULLS NOT DISTINCT",
    			Fields: []schema.IndexOption{
    				{Field: &schema.Field{Name: "CompName1", NotNull: true}},
    				{Field: &schema.Field{Name: "CompName2"}},
    			},
    		},
    		{
    			Name: "idx_user_indices_comp_id0",
    			Type: "",
    			Fields: []schema.IndexOption{{
    				Field: &schema.Field{Name: "Data0A"},
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Dec 06 02:27:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/mail/TestmailPostcard.java

        /**
         * Set the value of hostname, used in parameter comment. <br>
         * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty.
         * @param hostname The parameter value of hostname. (NotNull)
         */
        public void setHostname(String hostname) {
            registerVariable("hostname", hostname);
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. schema/schema_helper_test.go

    		} else {
    			tests.AssertObjEqual(t, parsedField, f, "Name", "DBName", "BindNames", "DataType", "PrimaryKey", "AutoIncrement", "Creatable", "Updatable", "Readable", "HasDefaultValue", "DefaultValue", "NotNull", "Unique", "Comment", "Size", "Precision", "TagSettings")
    
    			if f.DBName != "" {
    				if field, ok := s.FieldsByDBName[f.DBName]; !ok || parsedField != field {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Aug 28 02:57:17 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top