Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for rel (0.03 sec)

  1. src/main/webapp/WEB-INF/view/common/admin/head.jsp

    <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/plugins/daterangepicker/daterangepicker.css')}" rel="stylesheet" type="text/css" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 12:21:50 UTC 2020
    - 984 bytes
    - Viewed (0)
  2. callbacks/associations.go

    					if elems.Len() > 0 {
    						assignmentColumns := make([]string, 0, len(rel.References))
    						for _, ref := range rel.References {
    							assignmentColumns = append(assignmentColumns, ref.ForeignKey.DBName)
    						}
    
    						saveAssociations(db, rel, elems, selectColumns, restricted, assignmentColumns)
    					}
    				case reflect.Struct:
    					if _, zero := rel.Field.ValueOf(db.Statement.Context, db.Statement.ReflectValue); !zero {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. callbacks/delete.go

    				}
    			case schema.Many2Many:
    				var (
    					queryConds     = make([]clause.Expression, 0, len(rel.References))
    					foreignFields  = make([]*schema.Field, 0, len(rel.References))
    					relForeignKeys = make([]string, 0, len(rel.References))
    					modelValue     = reflect.New(rel.JoinTable.ModelType).Interface()
    					table          = rel.JoinTable.Table
    					tx             = db.Session(&gorm.Session{NewDB: true}).Model(modelValue).Table(table)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Feb 25 02:48:23 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top