Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 462 for Users (0.01 sec)

  1. tests/generics_test.go

    			} else if u2.Name != users[1].Name || u2.ID != users[1].ID {
    				t.Errorf("found invalid user, got %v, expect %v", u2, users[1])
    			}
    
    			if users, err := reusedb.Where("id IN ?", []uint{users[0].ID, users[1].ID}).Find(ctx); err != nil {
    				t.Errorf("failed to find user, got error: %v", err)
    			} else if len(users) != 2 {
    				t.Errorf("should find 2 users, but got %d", len(users))
    			}
    			sg.Done()
    		}()
    	}
    	sg.Wait()
    }
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

        }
    
        /**
         * Redirects an authenticated user to the appropriate admin interface based on their roles.
         * Users with admin roles are redirected to the dashboard, while other users are redirected
         * to their designated admin action class or to the root if no specific action is available.
         *
         * @param user the authenticated user bean containing role information
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/bigger-applications.md

    🕹 `items` 🔜 ✔️ 🔢 `router` (`items.router`). 👉 🎏 1️⃣ 👥 ✍ 📁 `app/routers/items.py`, ⚫️ `APIRouter` 🎚.
    
    & ⤴️ 👥 🎏 🕹 `users`.
    
    👥 💪 🗄 👫 💖:
    
    ```Python
    from app.routers import items, users
    ```
    
    /// info
    
    🥇 ⏬ "⚖ 🗄":
    
    ```Python
    from .routers import items, users
    ```
    
    🥈 ⏬ "🎆 🗄":
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### Создание *эндпоинтов* с помощью `APIRouter`
    
    В дальнейшем используйте `APIRouter` для объявления *эндпоинтов*, точно также, как вы используете класс `FastAPI`:
    
    ```Python hl_lines="6  11  16" title="app/routers/users.py"
    {!../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/bigger-applications.md

    ```
    
    
    ### Die `APIRouter` für `users` und `items` inkludieren
    
    Inkludieren wir nun die `router` aus diesen Submodulen `users` und `items`:
    
    ```Python hl_lines="10-11" title="app/main.py"
    {!../../docs_src/bigger_applications/app/main.py!}
    ```
    
    /// info
    
    `users.router` enthält den `APIRouter` in der Datei `app/routers/users.py`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. tests/preload_test.go

    	if err := DB.Create(&users).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	var userIDs []uint
    	for _, user := range users {
    		userIDs = append(userIDs, user.ID)
    	}
    
    	var users2 []User
    	DB.Preload("Pets.Toy").Find(&users2, "id IN ?", userIDs)
    
    	for idx, user := range users2 {
    		CheckUser(t, user, users[idx])
    	}
    }
    
    func TestPreloadWithConds(t *testing.T) {
    	users := []User{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/bigger-applications.md

    ```
    
    ### Include the `APIRouter`s for `users` and `items` { #include-the-apirouters-for-users-and-items }
    
    Now, let's include the `router`s from the submodules `users` and `items`:
    
    ```Python hl_lines="10-11" title="app/main.py"
    {!../../docs_src/bigger_applications/app/main.py!}
    ```
    
    /// info
    
    `users.router` contains the `APIRouter` inside of the file `app/routers/users.py`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  8. tests/associations_has_one_test.go

    func TestHasOneAssociationForSlice(t *testing.T) {
    	users := []User{
    		*GetUser("slice-hasone-1", Config{Account: true}),
    		*GetUser("slice-hasone-2", Config{Account: false}),
    		*GetUser("slice-hasone-3", Config{Account: true}),
    	}
    
    	DB.Create(&users)
    
    	// Count
    	AssertAssociationCount(t, users, "Account", 2, "")
    
    	// Find
    	var accounts []Account
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. tests/table_test.go

    		}
    	}
    
    	r = dryDB.Table("(?) as u", DB.Model(&User{}).Select("name")).Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT \\* FROM \\(SELECT .name. FROM .users. WHERE .users.\\..deleted_at. IS NULL\\) as u WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. clause/returning_test.go

    				[]clause.Column{clause.PrimaryColumn},
    			}},
    			"SELECT * FROM `users` RETURNING `users`.`id`", nil,
    		}, {
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Returning{
    				[]clause.Column{clause.PrimaryColumn},
    			}, clause.Returning{
    				[]clause.Column{{Name: "name"}, {Name: "age"}},
    			}},
    			"SELECT * FROM `users` RETURNING `users`.`id`,`name`,`age`", nil,
    		},
    		{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Jan 12 10:18:04 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top