Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for has_one (0.2 sec)

  1. schema/schema_test.go

    			f.Creatable = true
    			f.Updatable = true
    			f.Readable = true
    		})
    	}
    
    	// check relations
    	relations := []Relation{
    		{
    			Name: "Account", Type: schema.HasOne, Schema: "User", FieldSchema: "Account",
    			References: []Reference{{"ID", "User", "UserID", "Account", "", true}},
    		},
    		{
    			Name: "Pets", Type: schema.HasMany, Schema: "User", FieldSchema: "Pet",
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  2. migrator/migrator.go

    	if uni, ok := uniqueConstraints[name]; ok {
    		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 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  3. callbacks/associations.go

    		if db.Error == nil && db.Statement.Schema != nil {
    			selectColumns, restricted := db.Statement.SelectAndOmitColumns(create, !create)
    
    			// Save Has One associations
    			for _, rel := range db.Statement.Schema.Relationships.HasOne {
    				if v, ok := selectColumns[rel.Name]; (ok && !v) || (!ok && restricted) {
    					continue
    				}
    
    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Slice, reflect.Array:
    					var (
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. src/net/netip/netip.go

    // It's similar to WithZone, but small enough to be inlinable.
    func (ip Addr) withoutZone() Addr {
    	if !ip.Is6() {
    		return ip
    	}
    	ip.z = z6noz
    	return ip
    }
    
    // hasZone reports whether ip has an IPv6 zone.
    func (ip Addr) hasZone() bool {
    	return ip.z != z0 && ip.z != z4 && ip.z != z6noz
    }
    
    // IsLinkLocalUnicast reports whether ip is a link-local unicast address.
    func (ip Addr) IsLinkLocalUnicast() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  5. pkg/controller/disruption/disruption.go

    		logger.V(4).Info("Skipping clearing DisruptionTarget condition because pod was deleted", "pod", klog.KObj(pod))
    		return nil
    	}
    	if err != nil {
    		return err
    	}
    
    	hasCond, cleanAfter := dc.nonTerminatingPodHasStaleDisruptionCondition(pod)
    	if !hasCond {
    		return nil
    	}
    	if cleanAfter > 0 {
    		dc.enqueueStalePodDisruptionCleanup(logger, pod, cleanAfter)
    		return nil
    	}
    
    	newPod := pod.DeepCopy()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  6. fess-crawler-lasta/src/main/resources/crawler/extractor.xml

    				"image/x-raw-pentax",
    				"image/x-raw-sony",
    				"image/x-raw-sigma",
    				"image/x-raw-epson",
    				"image/x-raw-mamiya",
    				"image/x-raw-leaf",
    				"image/x-raw-panasonic",
    				"image/x-raw-phaseone",
    				"image/x-raw-red",
    				"image/x-raw-imacon",
    				"image/x-raw-logitech",
    				"image/x-raw-casio",
    				"image/x-raw-rawzor",
    				"image/x-rgb",
    				"image/x-xbitmap",
    				"image/x-xcf",
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sat Aug 01 21:40:30 UTC 2020
    - 49K bytes
    - Viewed (0)
  7. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    haboro.hokkaido.jp hacca.jp hachijo.tokyo.jp hachinohe.aomori.jp hachioji.tokyo.jp hachirogata.akita.jp hadano.kanagawa.jp hadsel.no haebaru.okinawa.jp haga.tochigi.jp hagebostad.no hagi.yamaguchi.jp haibara.shizuoka.jp hair hakata.fukuoka.jp hakodate.hokkaido.jp hakone.kanagawa.jp hakuba.nagano.jp hakui.ishikawa.jp hakusan.ishikawa.jp halden.no half.host halloffame.museum halsa.no ham-radio-op.net hamada.shimane.jp hamamatsu.shizuoka.jp hamar.no hamaroy.no hamatama.saga.jp hamatonbetsu.hokkaido.jp hamburg hamburg.museum...
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

      <mime-type type="image/x-raw-panasonic">
        <_comment>Panasonic raw image</_comment>
        <glob pattern="*.raw"/>
        <glob pattern="*.rw2"/>
      </mime-type>
    
      <mime-type type="image/x-raw-phaseone">
        <_comment>Phase One raw image</_comment>
        <glob pattern="*.iiq"/>
      </mime-type>
    
      <mime-type type="image/x-raw-red">
        <_comment>Red raw image</_comment>
        <glob pattern="*.r3d"/>
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Sep 21 06:46:43 UTC 2023
    - 298.5K bytes
    - Viewed (0)
  9. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    soo.kagoshima.jp
    tarumizu.kagoshima.jp
    yusui.kagoshima.jp
    aikawa.kanagawa.jp
    atsugi.kanagawa.jp
    ayase.kanagawa.jp
    chigasaki.kanagawa.jp
    ebina.kanagawa.jp
    fujisawa.kanagawa.jp
    hadano.kanagawa.jp
    hakone.kanagawa.jp
    hiratsuka.kanagawa.jp
    isehara.kanagawa.jp
    kaisei.kanagawa.jp
    kamakura.kanagawa.jp
    kiyokawa.kanagawa.jp
    matsuda.kanagawa.jp
    minamiashigara.kanagawa.jp
    miura.kanagawa.jp
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 240.3K bytes
    - Viewed (0)
  10. src/internal/trace/traceviewer/static/trace_viewer_full.html

    DdmsImporter.canImport=function(data){if(typeof(data)==='string'||data instanceof String){const header=...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top