Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for emit (0.07 sec)

  1. generics.go

    }
    
    type JoinBuilder interface {
    	Select(...string) JoinBuilder
    	Omit(...string) JoinBuilder
    	Where(query interface{}, args ...interface{}) JoinBuilder
    	Not(query interface{}, args ...interface{}) JoinBuilder
    	Or(query interface{}, args ...interface{}) JoinBuilder
    }
    
    type PreloadBuilder interface {
    	Select(...string) PreloadBuilder
    	Omit(...string) PreloadBuilder
    	Where(query interface{}, args ...interface{}) PreloadBuilder
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. statement.go

    			columnName := matches[3]
    			if star != "" {
    				return table, star
    			}
    			return table, columnName
    		}
    		return "", ""
    	}
    }()
    
    // SelectAndOmitColumns get select and omit columns, select -> true, omit -> false
    func (stmt *Statement) SelectAndOmitColumns(requireCreate, requireUpdate bool) (map[string]bool, bool) {
    	results := map[string]bool{}
    	notRestricted := false
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. .github/workflows/check-commits.yml

                      exit 1
                  fi
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Sep 04 22:13:34 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. tests/generics_test.go

    		t.Fatalf("failed to find user, got error: %v", err)
    	} else if u.Name != user.Name || u.Age != 0 {
    		t.Errorf("found invalid user, got %v, expect %v", u, user)
    	}
    
    	if u, err := gorm.G[User](DB).Omit("name").Where("name = ?", user.Name).First(ctx); err != nil {
    		t.Fatalf("failed to find user, got error: %v", err)
    	} else if u.Name != "" || u.Age != user.Age {
    		t.Errorf("found invalid user, got %v, expect %v", u, user)
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    FastAPI 0.106.0, raising exceptions after `yield` was not possible, the exit code in dependencies with `yield` was executed *after* the response was sent, so [Exception Handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#install-custom-exception-handlers) would have already run.
    
    This was designed this way mainly to allow using the same objects "yielded" by dependencies inside of background tasks, because the exit code would be executed after the background tasks were finished....
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    	pr, pw := xioutil.WaitPipe()
    	go func() {
    		pw.CloseWithError(er.getObjectWithFileInfo(ctx, bucket, object, off, length, pw, fi, metaArr, onlineDisks))
    	}()
    
    	// Cleanup function to cause the go routine above to exit, in
    	// case of incomplete read.
    	pipeCloser := func() {
    		pr.CloseWithError(nil)
    	}
    
    	if !unlockOnDefer {
    		return fn(pr, h, pipeCloser, nsUnlocker)
    	}
    
    	return fn(pr, h, pipeCloser)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
Back to top