Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 887 for cquery (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/ja/docs/tutorial/cookie-params.md

    # クッキーのパラメータ
    
    クッキーのパラメータは、`Query`や`Path`のパラメータを定義するのと同じ方法で定義できます。
    
    ## `Cookie`をインポート
    
    まず、`Cookie`をインポートします:
    
    {* ../../docs_src/cookie_params/tutorial001.py hl[3] *}
    
    ## `Cookie`のパラメータを宣言
    
    次に、`Path`や`Query`と同じ構造を使ってクッキーのパラメータを宣言します。
    
    最初の値がデフォルト値で、追加の検証パラメータや注釈パラメータをすべて渡すことができます:
    
    {* ../../docs_src/cookie_params/tutorial001.py hl[9] *}
    
    /// note | 技術詳細
    
    `Cookie`は`Path`と`Query`の「姉妹」クラスです。また、同じ共通の`Param`クラスを継承しています。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. prepare_stmt.go

    	stmt, err := db.prepare(ctx, db.ConnPool, false, query)
    	if err == nil {
    		rows, err = stmt.QueryContext(ctx, args...)
    		if errors.Is(err, driver.ErrBadConn) {
    			db.Stmts.Delete(query)
    		}
    	}
    	return rows, err
    }
    
    func (db *PreparedStmtDB) QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. src/main/config/openapi/openapi-user.yaml

            - name: facet.field
              in: query
              description: Facet field name
              required: false
              style: form
              explode: true
              schema:
                type: array
                items:
                  type: string
                example: [label]
            - name: facet.query
              in: query
              description: Facet query
              required: false
              style: form
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu May 09 06:31:27 GMT 2024
    - 21.6K bytes
    - Click Count (0)
  4. tests/test_request_params/test_query/test_optional_list.py

    import pytest
    from fastapi import FastAPI, Query
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.get("/optional-list-str")
    async def read_optional_list_str(
        p: Annotated[Optional[list[str]], Query()] = None,
    ):
        return {"p": p}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. docs_src/query_params_str_validations/tutorial009_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str | None, Query(alias="item-query")] = None):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 314 bytes
    - Click Count (0)
  6. docs_src/query_params_str_validations/tutorial009_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Union[str, None] = Query(default=None, alias="item-query")):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 313 bytes
    - Click Count (0)
  7. docs_src/graphql_/tutorial001_py39.py

    from strawberry.fastapi import GraphQLRouter
    
    
    @strawberry.type
    class User:
        name: str
        age: int
    
    
    @strawberry.type
    class Query:
        @strawberry.field
        def user(self) -> User:
            return User(name="Patrick", age=100)
    
    
    schema = strawberry.Schema(query=Query)
    
    
    graphql_app = GraphQLRouter(schema)
    
    app = FastAPI()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 424 bytes
    - Click Count (0)
  8. docs_src/path_params_numeric_validations/tutorial001_py310.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: int = Path(title="The ID of the item to get"),
        q: str | None = Query(default=None, alias="item-query"),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 332 bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/query/MatchAllQueryCommand.java

     */
    package org.codelibs.fess.query;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.apache.lucene.search.MatchAllDocsQuery;
    import org.apache.lucene.search.Query;
    import org.codelibs.fess.entity.QueryContext;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    /**
     * Query command for match all documents query.
     */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            return df.format(target) + unit;
        }
    
        /**
         * Generates URL query parameters for pagination, excluding the specified query parameter.
         *
         * @param query the query parameter to exclude from paging
         * @return URL-encoded query string for pagination
         */
        public static String pagingQuery(final String query) {
            return LaRequestUtil.getOptionalRequest().map(req -> {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
Back to Top