Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Subname (2.44 sec)

  1. schema/index.go

    				}
    
    				if name == "" {
    					subName := field.Name
    					const key = "COMPOSITE"
    					if composite, found := settings[key]; found {
    						if len(composite) == 0 || composite == key {
    							err = fmt.Errorf(
    								"The composite tag of %s.%s cannot be empty",
    								field.Schema.Name,
    								field.Name)
    							return
    						}
    						subName = composite
    					}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. utils/utils_test.go

    package utils
    
    import (
    	"database/sql"
    	"database/sql/driver"
    	"errors"
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestIsValidDBNameChar(t *testing.T) {
    	for _, db := range []string{"db", "dbName", "db_name", "db1", "1dbname", "db$name"} {
    		if fields := strings.FieldsFunc(db, IsValidDBNameChar); len(fields) != 1 {
    			t.Fatalf("failed to parse db name %v", db)
    		}
    	}
    }
    
    func TestCheckTruth(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/bsentity/BsJobLog.java

            this.endTime = value;
        }
    
        public String getJobName() {
            checkSpecifiedProperty("jobName");
            return convertEmptyToNull(jobName);
        }
    
        public void setJobName(String value) {
            registerModifiedProperty("jobName");
            this.jobName = value;
        }
    
        public String getJobStatus() {
            checkSpecifiedProperty("jobStatus");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. callbacks/update.go

    			}
    		}
    
    		if !stmt.SkipHooks && stmt.Schema != nil {
    			for _, dbName := range stmt.Schema.DBNames {
    				field := stmt.Schema.LookUpField(dbName)
    				if field.AutoUpdateTime > 0 && value[field.Name] == nil && value[field.DBName] == nil {
    					if v, ok := selectColumns[field.DBName]; (ok && v) || !ok {
    						now := stmt.DB.NowFunc()
    						assignValue(field, now)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. schema/constraint.go

    }
    
    // ParseUniqueConstraints parse schema unique constraints
    func (schema *Schema) ParseUniqueConstraints() map[string]UniqueConstraint {
    	uniques := make(map[string]UniqueConstraint)
    	for _, field := range schema.Fields {
    		if field.Unique {
    			name := schema.namer.UniqueName(schema.Table, field.DBName)
    			uniques[name] = UniqueConstraint{Name: name, Field: field}
    		}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 07:33:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/pager/JobLogPager.java

        private boolean existNextPage;
    
        private List<Integer> pageNumberList;
    
        private int pageSize;
    
        private int currentPageNumber;
    
        public String id;
    
        public String jobName;
    
        public String jobStatus;
    
        public String target;
    
        public String scriptType;
    
        public String startTime;
    
        public void clear() {
            allRecordCount = 0;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/joblog/EditForm.java

     */
    public class EditForm {
    
        @ValidateTypeFailure
        public int crudMode;
    
        @Required
        @ValidateTypeFailure
        public String id;
    
        @Required
        public String jobName;
    
        @Required
        public String jobStatus;
    
        @Required
        public String target;
    
        @Required
        public String scriptType;
    
        public String scriptData;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. schema/schema_helper_test.go

    			if f.DBName != "" {
    				if field, ok := s.FieldsByDBName[f.DBName]; !ok || parsedField != field {
    					t.Errorf("schema %v failed to look up field with dbname %v", s, f.DBName)
    				}
    			}
    
    			for _, name := range []string{f.DBName, f.Name} {
    				if name != "" {
    					if field := s.LookUpField(name); field == nil || (field.Name != name && field.DBName != name) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/exentity/JobLog.java

            asDocMeta().version(version);
        }
    
        @Override
        public String toString() {
            return "JobLog [scheduledJob=" + scheduledJob + ", endTime=" + endTime + ", jobName=" + jobName + ", jobStatus=" + jobStatus
                    + ", scriptData=" + scriptData + ", scriptResult=" + scriptResult + ", scriptType=" + scriptType + ", startTime="
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/main/resources/fess_indices/fess_config.job_log/job_log.json

    {
        "properties": {
          "jobName": {
            "type": "keyword"
          },
          "jobStatus": {
            "type": "keyword"
          },
          "target": {
            "type": "keyword"
          },
          "scriptType": {
            "type": "keyword"
          },
          "scriptData": {
            "type": "keyword"
          },
          "scriptResult": {
            "type": "keyword"
          },
          "lastUpdated": {
            "type": "long"
          },
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 524 bytes
    - Viewed (0)
Back to top