Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 105 for escopos (0.04 sec)

  1. tests/distinct_test.go

    	var names1 []string
    	DB.Model(&User{}).Where("name like ?", "distinct%").Distinct().Order("name").Pluck("Name", &names1)
    
    	AssertEqual(t, names1, []string{"distinct", "distinct-2", "distinct-3"})
    
    	var names2 []string
    	DB.Scopes(func(db *gorm.DB) *gorm.DB {
    		return db.Table("users")
    	}).Where("name like ?", "distinct%").Order("name").Pluck("name", &names2)
    	AssertEqual(t, names2, []string{"distinct", "distinct", "distinct", "distinct-2", "distinct-3"})
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/bigger-applications.md

        * Sie kรถnnen auch [`Security`-Abhรคngigkeiten mit `scopes`](../advanced/security/oauth2-scopes.md){.internal-link target=_blank} hinzufรผgen.
    
    /// tip | Tipp
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. tests/count_test.go

    	sort.SliceStable(users, func(i, j int) bool {
    		return strings.Compare(users[i].Name, users[j].Name) < 0
    	})
    
    	AssertEqual(t, users, expects)
    
    	var count9 int64
    	if err := DB.Scopes(func(tx *gorm.DB) *gorm.DB {
    		return tx.Table("users")
    	}).Where("name in ?", []string{user1.Name, user2.Name, user3.Name}).Count(&count9).Find(&users).Error; err != nil || count9 != 3 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. tests/generics_test.go

    	filterName1 := func(stmt *gorm.Statement) {
    		stmt.Where("name = ?", "GenericsScopes1")
    	}
    
    	results, err := gorm.G[User](DB).Scopes(filterName1).Find(ctx)
    	if err != nil {
    		t.Fatalf("Scopes failed: %v", err)
    	}
    	if len(results) != 1 || results[0].Name != "GenericsScopes1" {
    		t.Fatalf("Scopes expected 1, got %d", len(results))
    	}
    
    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/mkdocs.yml

        - advanced/response-headers.md
        - advanced/response-change-status-code.md
        - advanced/advanced-dependencies.md
        - Advanced Security:
          - advanced/security/index.md
          - advanced/security/oauth2-scopes.md
          - advanced/security/http-basic-auth.md
        - advanced/using-request-directly.md
        - advanced/dataclasses.md
        - advanced/middleware.md
        - advanced/sub-applications.md
        - advanced/behind-a-proxy.md
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/bigger-applications.md

        * You can also add [`Security` dependencies with `scopes`](../advanced/security/oauth2-scopes.md){.internal-link target=_blank}.
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            assertNotNull(directoryLeaseManager.getCacheEntry(dir1));
            assertNotNull(directoryLeaseManager.getCacheEntry(dir2));
            assertNotNull(directoryLeaseManager.getCacheEntry(dir3));
    
            // Verify different scopes
            assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, directoryLeaseManager.getCacheEntry(dir1).getScope());
            assertEquals(DirectoryCacheScope.METADATA_ONLY, directoryLeaseManager.getCacheEntry(dir2).getScope());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image10.png">
    
    /// note
    
    ๐Ÿ‘€ ๐ŸŽš `Authorization`, โฎ๏ธ ๐Ÿ’ฒ ๐Ÿ‘ˆ โ–ถ๏ธ โฎ๏ธ `Bearer `.
    
    ///
    
    ## ๐Ÿง โš™๏ธ โฎ๏ธ `scopes`
    
    Oauth2๏ธโƒฃ โœ”๏ธ ๐Ÿ”‘ "โ†”".
    
    ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐Ÿ‘ซ ๐Ÿšฎ ๐ŸŽฏ โš’ โœ” ๐Ÿฅ™ ๐Ÿค.
    
    โคด๏ธ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿค ๐Ÿ‘‰ ๐Ÿค ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ”— โš–๏ธ ๐Ÿฅ‰ ๐Ÿฅณ, ๐Ÿ”— โฎ๏ธ ๐Ÿ‘† ๐Ÿ› ๏ธ โฎ๏ธ โš’ ๐Ÿšซ.
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ’ก โ” โš™๏ธ ๐Ÿ‘ซ &amp; โ” ๐Ÿ‘ซ ๐Ÿ› ๏ธ ๐Ÿ”˜ **FastAPI** โช **๐Ÿง ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿฆฎ**.
    
    ## ๐ŸŒƒ
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

            }
            if (keyObj instanceof final Number key) {
                return OptionalThing.of(key.toString());
            }
            return OptionalThing.empty();
        }
    
        /**
         * Escapes special characters in a value string for safe logging.
         *
         * @param action the string value to escape
         * @return the escaped string with tabs replaced by spaces
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                return escape(s) + ".*";
            }
            final StringBuilder buf = new StringBuilder(100);
            return appendFileterPath(buf, escape(s));
        }
    
        /**
         * Escapes special regex characters in a string to create a literal pattern.
         * Handles anchor characters (^ and $) specially to preserve their regex meaning.
         *
         * @param s the string to escape
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top