- Sort Score
- Num 10 results
- Language All
Results 921 - 930 of 1,024 for queryFn (0.05 seconds)
-
tests/query_test.go
t.Errorf("errors happened when query first: %v", err) } else { CheckUser(t, first, users[0]) } }) t.Run("Last", func(t *testing.T) { var last User if err := DB.Where("name = ?", "find").Last(&last).Error; err != nil { t.Errorf("errors happened when query last: %v", err) } else { CheckUser(t, last, users[2]) } }) var all []User
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Jul 22 06:21:04 GMT 2025 - 51K bytes - Click Count (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
But by using `Security` instead of `Depends`, **FastAPI** will know that it can declare security scopes, use them internally, and document the API with OpenAPI. But when you import `Query`, `Path`, `Depends`, `Security` and others from `fastapi`, those are actually functions that return special classes. /// ## Use `SecurityScopes` { #use-securityscopes }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 13.4K bytes - Click Count (0) -
docs/zh/docs/advanced/security/oauth2-scopes.md
/// info | 技术细节 `Security` 实际上是 `Depends` 的子类,它只多了一个我们稍后会看到的参数。 但当你使用 `Security` 而不是 `Depends` 时,**FastAPI** 会知道它可以声明安全作用域,在内部使用它们,并用 OpenAPI 文档化 API。 另外,从 `fastapi` 导入的 `Query`、`Path`、`Depends`、`Security` 等,实际上都是返回特殊类的函数。 /// ## 使用 `SecurityScopes` { #use-securityscopes } 现在更新依赖项 `get_current_user`。 上面那些依赖会用到它。 这里我们使用之前创建的同一个 OAuth2 方案,并把它声明为依赖:`oauth2_scheme`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 13K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/security/oauth2-scopes.md
/// info | 技術細節 `Security` 其實是 `Depends` 的子類別,僅多了一個我們稍後會看到的參數。 改用 `Security` 而不是 `Depends`,能讓 FastAPI 知道可以宣告安全性 scopes、在內部使用它們,並用 OpenAPI 文件化 API。 另外,當你從 `fastapi` 匯入 `Query`、`Path`、`Depends`、`Security` 等時,實際上它們是回傳特殊類別的函式。 /// ## 使用 `SecurityScopes` { #use-securityscopes } 現在更新相依性 `get_current_user`。 上面的相依性就是使用它。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 12.7K bytes - Click Count (0) -
internal/grid/types.go
}, } // Recycle the underlying map. func (m *MSS) Recycle() { if m != nil && *m != nil { mssPool.Put(*m) *m = nil } } // ToQuery constructs a URL query string from the MSS, including "?" if there are any keys. func (m MSS) ToQuery() string { if len(m) == 0 { return "" } var buf strings.Builder buf.WriteByte('?') keys := make([]string, 0, len(m))
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.5K bytes - Click Count (0) -
internal/config/identity/plugin/config.go
return AuthNResponse{}, nil } if roleArn != o.args.RoleARN { return AuthNResponse{}, fmt.Errorf("Invalid role ARN value: %s", roleArn.String()) } u := url.URL(*o.args.URL) q := u.Query() q.Set("token", token) u.RawQuery = q.Encode() ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) defer cancel()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
return new ConcurrentHashMultiset<>(countMap); } private ConcurrentHashMultiset(ConcurrentMap<E, AtomicInteger> countMap) { this.countMap = countMap; } // Query Operations /** * Returns the number of occurrences of {@code element} in this multiset. * * @param element the element to look for * @return the nonnegative number of occurrences of the element
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
public final fun password ()Ljava/lang/String; public final fun pathSegments ()Ljava/util/List; public final fun pathSize ()I public final fun port ()I public final fun query ()Ljava/lang/String; public final fun queryParameter (Ljava/lang/String;)Ljava/lang/String; public final fun queryParameterName (I)Ljava/lang/String; public final fun queryParameterNames ()Ljava/util/Set;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
WebApiManager manager = new TestWebApiManager("/api/"); TestHttpServletRequest request = new TestHttpServletRequest(); request.setRequestURI("/api/search?query=test"); assertTrue(manager.matches(request)); request.setRequestURI("/api/data#anchor"); assertTrue(manager.matches(request)); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 26.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimap.java
* @since 2.0 */ @DoNotMock("Use ImmutableMultimap, HashMultimap, or another implementation") @GwtCompatible public interface Multimap<K extends @Nullable Object, V extends @Nullable Object> { // Query Operations /** * Returns the number of key-value pairs in this multimap. * * <p><b>Note:</b> this method does not return the number of <i>distinct keys</i> in the multimap,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 15K bytes - Click Count (0)