Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for belongsTo (0.18 sec)

  1. schema/relationship_test.go

    				"Country": {
    					Name: "Country", Type: schema.BelongsTo, Schema: "Org", FieldSchema: "Country",
    					References: []Reference{
    						{PrimaryKey: "ID", PrimarySchema: "Country", ForeignKey: "CountryID", ForeignSchema: "Org"},
    					},
    				},
    			},
    		},
    		"VisitingAddress": {
    			Relations: map[string]Relation{
    				"Country": {
    					Name: "Country", Type: schema.BelongsTo, Schema: "Org", FieldSchema: "Country",
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  2. schema/relationship.go

    	HasMany   RelationshipType = "has_many"     // HasManyRel has many relationship
    	BelongsTo RelationshipType = "belongs_to"   // BelongsToRel belongs to relationship
    	Many2Many RelationshipType = "many_to_many" // Many2ManyRel many to many relationship
    	has       RelationshipType = "has"
    )
    
    type Relationships struct {
    	HasOne    []*Relationship
    	BelongsTo []*Relationship
    	HasMany   []*Relationship
    	Many2Many []*Relationship
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  3. callbacks/update.go

    				db.Statement.ReflectValue = db.Statement.ReflectValue.Elem()
    			}
    
    			if dest, ok := db.Statement.Dest.(map[string]interface{}); ok {
    				for _, rel := range db.Statement.Schema.Relationships.BelongsTo {
    					if _, ok := dest[rel.Name]; ok {
    						db.AddError(rel.Field.Set(db.Statement.Context, db.Statement.ReflectValue, dest[rel.Name]))
    					}
    				}
    			}
    		}
    	}
    }
    
    // BeforeUpdate before update hooks
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 05:44:55 GMT 2024
    - 9.4K bytes
    - Viewed (1)
  4. common-protos/k8s.io/api/apidiscovery/v2beta1/generated.proto

      repeated string verbs = 5;
    
      // shortNames is a list of suggested short names of the resource.
      // +listType=set
      repeated string shortNames = 6;
    
      // categories is a list of the grouped resources this resource belongs to (e.g. 'all').
      // Clients may use this to simplify acting on multiple resource types at once.
      // +listType=set
      repeated string categories = 7;
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. internal/etag/etag.go

    	// such an ETag (with a nonce value containing a '-')
    	// as non-encrypted.
    
    	return len(e) >= 32 // We consider all ETags longer than 32 bytes as encrypted
    }
    
    // IsMultipart reports whether the ETag belongs to an
    // object that has been uploaded using the S3 multipart
    // API.
    // An S3 multipart ETag has a -<part-number> suffix.
    func (e ETag) IsMultipart() bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Types.java

              return behavior;
            }
          }
          throw new AssertionError();
        }
      }
    
      /**
       * Returns a new {@link TypeVariable} that belongs to {@code declaration} with {@code name} and
       * {@code bounds}.
       */
      static <D extends GenericDeclaration> TypeVariable<D> newArtificialTypeVariable(
          D declaration, String name, Type... bounds) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. manifests/charts/istiod-remote/values.yaml

        # Configure the mesh networks to be used by the Split Horizon EDS.
        #
        # The following example defines two networks with different endpoints association methods.
        # For `network1` all endpoints that their IP belongs to the provided CIDR range will be
        # mapped to network1. The gateway for this network example is specified by its public IP
        # address and port.
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 16:58:23 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/values.yaml

        # Configure the mesh networks to be used by the Split Horizon EDS.
        #
        # The following example defines two networks with different endpoints association methods.
        # For `network1` all endpoints that their IP belongs to the provided CIDR range will be
        # mapped to network1. The gateway for this network example is specified by its public IP
        # address and port.
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 16:58:23 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		Description:    "Error parsing the Credential/X-Amz-Credential parameter; incorrect service. This endpoint belongs to \"s3\".",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidServiceSTS: {
    		Code:           "AuthorizationParametersError",
    		Description:    "Error parsing the Credential parameter; incorrect service. This endpoint belongs to \"sts\".",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidRequestVersion: {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 90.6K bytes
    - Viewed (6)
  10. cmd/endpoint.go

    	for id, ep := range globalEndpoints {
    		if ep.CmdLine != pool {
    			continue
    		}
    		return id
    	}
    	return -1
    }
    
    // GetLocalPoolIdx returns the pool which endpoint belongs to locally.
    // if ep is remote this code will return -1 poolIndex
    func (l EndpointServerPools) GetLocalPoolIdx(ep Endpoint) int {
    	for i, zep := range l {
    		for _, cep := range zep.Endpoints {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
Back to top