Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for nfield (0.31 sec)

  1. schema/relationship.go

    	PrimaryKey    *Field
    	PrimaryValue  string
    	ForeignKey    *Field
    	OwnPrimaryKey bool
    }
    
    func (schema *Schema) parseRelation(field *Field) *Relationship {
    	var (
    		err        error
    		fieldValue = reflect.New(field.IndirectFieldType).Interface()
    		relation   = &Relationship{
    			Name:        field.Name,
    			Field:       field,
    			Schema:      schema,
    			foreignKeys: toColumns(field.TagSettings["FOREIGNKEY"]),
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. schema/schema.go

    	}
    
    	for i := 0; i < modelType.NumField(); i++ {
    		if fieldStruct := modelType.Field(i); ast.IsExported(fieldStruct.Name) {
    			if field := schema.ParseField(fieldStruct); field.EmbeddedSchema != nil {
    				schema.Fields = append(schema.Fields, field.EmbeddedSchema.Fields...)
    			} else {
    				schema.Fields = append(schema.Fields, field)
    			}
    		}
    	}
    
    	for _, field := range schema.Fields {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. scan.go

    							relFields = append(relFields, rel.Field)
    							for _, name := range names[1 : subNameCount-1] {
    								rel = rel.FieldSchema.Relationships.Relations[name]
    								relFields = append(relFields, rel.Field)
    							}
    							// latest name is raw dbname
    							dbName := names[subNameCount-1]
    							if field := rel.FieldSchema.LookUpField(dbName); field != nil && field.Readable {
    								fields[idx] = field
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. api/maven-api-plugin/src/main/mdo/plugin.mdo

          <description>Dependency collection or resolution injection.</description>
          <fields>
            <field>
              <name>field</name>
              <required>false</required>
              <version>2.0.0+</version>
              <type>String</type>
              <description>the name of the field to be injected</description>
            </field>
            <field>
              <name>pathScope</name>
              <required>false</required>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. callbacks/preload.go

    				tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue.Index(i), reflect.MakeSlice(rel.Field.IndirectFieldType, 0, 10).Interface()))
    			default:
    				tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue.Index(i), reflect.New(rel.Field.FieldType).Interface()))
    			}
    		}
    	}
    
    	for i := 0; i < reflectResults.Len(); i++ {
    		elem := reflectResults.Index(i)
    		for idx, field := range relForeignFields {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. association.go

    					for i := 0; i < reflectValue.Len(); i++ {
    						association.Error = rel.Field.Set(association.DB.Statement.Context, reflectValue.Index(i), reflect.Zero(rel.Field.FieldType).Interface())
    					}
    				case reflect.Struct:
    					association.Error = rel.Field.Set(association.DB.Statement.Context, reflectValue, reflect.Zero(rel.Field.FieldType).Interface())
    				}
    
    				for _, ref := range rel.References {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValue.kt

            get() = withValidityAssertion { field }
    
        /**
         * The class reference type, e.g. `Array<String>` for the `Array<String>::class` literal.
         */
        public val type: KaType = type
            get() = withValidityAssertion { field }
    
        override val sourcePsi: KtElement? = sourcePsi
            get() = withValidityAssertion { field }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. cmd/storage-datatypes_gen.go

    func (z *BaseOptions) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		default:
    			err = dc.Skip()
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  9. maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/LifecycleConfiguration.java

        // --------------------------/
        // - Class/Member Variables -/
        // --------------------------/
    
        /**
         * Field lifecycles.
         */
        private java.util.List<Lifecycle> lifecycles;
    
        /**
         * Field modelEncoding.
         */
        private String modelEncoding = "UTF-8";
    
        // -----------/
        // - Methods -/
        // -----------/
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 19:51:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Indicates that a given field will be injected with the result of
     * a dependency collection or resolution request. Whether a collection
     * or resolution request is performed is controlled by the {@link #pathScope()}
     * field, the injected field type and the {@link #requestType()}.
     * <p>
     * If the {@code requestType} is not set explicitly, it will be inferred
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top