Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for amit (0.03 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. docs/en/data/topic_repos.yml

    - name: budgetml
      html_url: https://github.com/ebhy/budgetml
      stars: 1345
      owner_login: ebhy
      owner_html_url: https://github.com/ebhy
    - name: fastapi-amis-admin
      html_url: https://github.com/amisadmin/fastapi-amis-admin
      stars: 1327
      owner_login: amisadmin
      owner_html_url: https://github.com/amisadmin
    - name: fastapi-tutorial
      html_url: https://github.com/liaogx/fastapi-tutorial
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:57:41 UTC 2025
    - 15.8K 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

    ):
        return {"message": "Hello World"}
    ```
    
    ...all these parameters are required because the default value is `...` (Ellipsis).
    
    But now it's possible and supported to just omit the default value, as would be done with Pydantic fields, and the parameters would still be required.
    
    ✨ For example, this is now supported:
    
    ```Python
    from fastapi import Cookie, FastAPI, Header, Path, Query
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top