Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for Rel (0.01 sec)

  1. migrator/migrator.go

    		return &uni, stmt.Table
    	}
    
    	getTable := func(rel *schema.Relationship) string {
    		switch rel.Type {
    		case schema.HasOne, schema.HasMany:
    			return rel.FieldSchema.Table
    		case schema.Many2Many:
    			return rel.JoinTable.Table
    		}
    		return stmt.Table
    	}
    
    	for _, rel := range stmt.Schema.Relationships.Relations {
    		if constraint := rel.ParseConstraint(); constraint != nil && constraint.Name == name {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  2. association.go

    						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 {
    					updateMap[ref.ForeignKey.DBName] = nil
    				}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. schema/relationship.go

    	return
    }
    
    func (rel *Relationship) ParseConstraint() *Constraint {
    	str := rel.Field.TagSettings["CONSTRAINT"]
    	if str == "-" {
    		return nil
    	}
    
    	if rel.Type == BelongsTo {
    		for _, r := range rel.FieldSchema.Relationships.Relations {
    			if r != rel && r.FieldSchema == rel.Schema && len(rel.References) == len(r.References) {
    				matched := true
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. callbacks/preload.go

    		inlineConds      []interface{}
    	)
    
    	if rel.JoinTable != nil {
    		var (
    			joinForeignFields    = make([]*schema.Field, 0, len(rel.References))
    			joinRelForeignFields = make([]*schema.Field, 0, len(rel.References))
    			joinForeignKeys      = make([]string, 0, len(rel.References))
    		)
    
    		for _, ref := range rel.References {
    			if ref.OwnPrimaryKey {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/orig/view/help.jsp

    <title><la:message key="labels.search_title" /></title>
    <link href="${fe:url('/css/bootstrap.min.css')}" rel="stylesheet"
    	type="text/css" />
    <link href="${fe:url('/css/style.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/font-awesome.min.css')}"
    	rel="stylesheet" type="text/css" />
    </head>
    <body>
    	<jsp:include page="header.jsp" />
    	<main class="container">
    		<div class="row">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/login/newpassword.jsp

    <title><la:message key="labels.login.title" /></title>
    <link href="${fe:url('/css/admin/bootstrap.min.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/admin/font-awesome.min.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/admin/adminlte.min.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/admin/style.css')}" rel="stylesheet" type="text/css" />
    <!--[if lt IE 9]>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/orig/view/error/system.jsp

    <title><la:message key="labels.system_error_title" /></title>
    <link href="${fe:url('/css/bootstrap.min.css')}" rel="stylesheet"
    	type="text/css" />
    <link href="${fe:url('/css/style.css')}" rel="stylesheet"
    	type="text/css" />
    <link href="${fe:url('/css/font-awesome.min.css')}"
    	rel="stylesheet" type="text/css" />
    </head>
    <body class="error">
    	<jsp:include page="../header.jsp" />
    	<main class="container">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            } else {
                ProjectRelocation rel = retrieveRelocatedProject(artifact, request);
    
                if (rel == null) {
                    return null;
                }
    
                pomArtifact = rel.pomArtifact;
    
                relocatedArtifact = rel.relocatedArtifact;
    
                if (rel.project == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/orig/view/login/index.jsp

    <title><la:message key="labels.login.title" /></title>
    <link href="${fe:url('/css/admin/bootstrap.min.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/admin/font-awesome.min.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/admin/adminlte.min.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/admin/style.css')}" rel="stylesheet" type="text/css" />
    <!--[if lt IE 9]>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/profile/index.jsp

    <title><la:message key="labels.profile.title" /></title>
    <link href="${fe:url('/css/admin/bootstrap.min.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/admin/font-awesome.min.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/admin/adminlte.min.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/admin/style.css')}" rel="stylesheet" type="text/css" />
    <!--[if lt IE 9]>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top