Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,487 for uber (0.02 sec)

  1. tests/gorm_test.go

    	case "mysql", "sqlserver":
    		// these dialects do not support the "returning" clause
    		return
    	default:
    		// This user struct will leverage the existing users table, but override
    		// the Name field to default to null.
    		type user struct {
    			gorm.Model
    			Name string `gorm:"default:null"`
    		}
    		u1 := user{}
    
    		if results := DB.Create(&u1); results.Error != nil {
    			t.Fatalf("errors happened on create: %v", results.Error)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/user/bsentity/dbmeta/UserDbm.java

            setupEpg(_epgMap, et -> ((User) et).getState(), (et, vl) -> ((User) et).setState(DfTypeUtil.toString(vl)), "state");
            setupEpg(_epgMap, et -> ((User) et).getStreet(), (et, vl) -> ((User) et).setStreet(DfTypeUtil.toString(vl)), "street");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. docs_src/generate_clients/tutorial003_py39.py

            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
        ]
    
    
    @app.post("/users/", response_model=ResponseMessage, tags=["users"])
    async def create_user(user: User):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 914 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

     */
    package org.codelibs.fess.es.user.bsbhv;
    
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.es.user.allcommon.EsAbstractBehavior;
    import org.codelibs.fess.es.user.allcommon.EsAbstractEntity.RequestOptionCall;
    import org.codelibs.fess.es.user.bsentity.dbmeta.UserDbm;
    import org.codelibs.fess.es.user.cbean.UserCB;
    import org.codelibs.fess.es.user.exentity.User;
    import org.dbflute.Entity;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/index.md

    ///
    
    ## Advanced User Guide
    
    There is also an **Advanced User Guide** that you can read later after this **Tutorial - User guide**.
    
    The **Advanced User Guide** builds on this one, uses the same concepts, and teaches you some extra features.
    
    But you should first read the **Tutorial - User Guide** (what you are reading right now).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 21:52:09 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. tests/soft_delete_test.go

    )
    
    func TestSoftDelete(t *testing.T) {
    	user := *GetUser("SoftDelete", Config{})
    	DB.Save(&user)
    
    	var count int64
    	var age uint
    
    	if DB.Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 1 {
    		t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count)
    	}
    
    	if DB.Model(&User{}).Select("age").Where("name = ?", user.Name).Scan(&age).Error != nil || age != user.Age {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. tests/test_security_openid_connect.py

    app = FastAPI()
    
    oid = OpenIdConnect(openIdConnectUrl="/openid")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(oid)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    client = TestClient(app)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. tests/test_security_openid_connect_description.py

    oid = OpenIdConnect(
        openIdConnectUrl="/openid", description="OpenIdConnect security scheme"
    )
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(oid)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    client = TestClient(app)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. docs_src/body_multiple_params/tutorial002_py310.py

        description: str | None = None
        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item, user: User):
        results = {"item_id": item_id, "item": item, "user": user}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 446 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/cbean/bs/BsGroupCB.java

     */
    package org.codelibs.fess.es.user.cbean.bs;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.es.user.allcommon.EsAbstractConditionBean;
    import org.codelibs.fess.es.user.bsentity.dbmeta.GroupDbm;
    import org.codelibs.fess.es.user.cbean.GroupCB;
    import org.codelibs.fess.es.user.cbean.ca.GroupCA;
    import org.codelibs.fess.es.user.cbean.ca.bs.BsGroupCA;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top