Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,076 for rquery (0.09 sec)

  1. chainable_api.go

    func (db *DB) Joins(query string, args ...interface{}) (tx *DB) {
    	return joins(db, clause.LeftJoin, query, args...)
    }
    
    // InnerJoins specify inner joins conditions
    // db.InnerJoins("Account").Find(&user)
    func (db *DB) InnerJoins(query string, args ...interface{}) (tx *DB) {
    	return joins(db, clause.InnerJoin, query, args...)
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            final int maxQueryLength = fessConfig.getQueryMaxLengthAsInteger();
            final StringBuilder queryBuf = new StringBuilder(255);
    
            final String query = buildBaseQuery();
            if (StringUtil.isNotBlank(query)) {
                queryBuf.append(escapeQuery(query));
            }
    
            stream(params.getExtraQueries())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. tests/test_invalid_sequence_param.py

    from typing import Dict, List, Optional, Tuple
    
    import pytest
    from fastapi import FastAPI, Query
    from pydantic import BaseModel
    
    
    def test_invalid_sequence():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: List[Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    def test_invalid_tuple():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py

                assert data == "Session cookie or query token value is: fakesession"
                data = websocket.receive_text()
                assert data == f"Message text was: {message}, for item ID: foo"
                message = "Message two"
                websocket.send_text(message)
                data = websocket.receive_text()
                assert data == "Session cookie or query token value is: fakesession"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/BoostQueryCommand.java

            return BoostQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final BoostQuery boostQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return getQueryProcessor().execute(context, boostQuery.getQuery(), boostQuery.getBoost());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

            if (StringUtil.isNotBlank(pager.queryId)) {
                cb.query().setQueryId_Term(pager.queryId);
            }
            if (StringUtil.isNotBlank(pager.userSessionId)) {
                cb.query().setUserSessionId_Term(pager.userSessionId);
            }
            if (StringUtil.isNotBlank(pager.accessType)) {
                cb.query().setAccessType_Term(pager.accessType);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  7. tests/test_repeated_parameter_alias.py

    from fastapi import FastAPI, Path, Query, status
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/{repeated_alias}")
    def get_parameters_with_repeated_aliases(
        path: str = Path(..., alias="repeated_alias"),
        query: str = Query(..., alias="repeated_alias"),
    ):
        return {"path": path, "query": query}
    
    
    client = TestClient(app)
    
    
    def test_get_parameters():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. tests/test_starlette_urlconvertors.py

        assert response.json() == {"path": "some/example"}
    
    
    def test_route_converters_query():
        # Test query conversion
        response = client.get("/query", params={"param": "Qué tal!"})
        assert response.status_code == 200, response.text
        assert response.json() == {"query": "Qué tal!"}
    
    
    def test_url_path_for_path_convertor():
        assert (
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 27 14:46:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_bigger_applications/test_main_an.py

                        "type": "missing",
                        "loc": ["query", "token"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["query", "token"],
                        "msg": "field required",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/body-fields.md

    ///
    
    ```Python hl_lines="11-14"
    {!> ../../docs_src/body_fields/tutorial001.py!}
    ```
    
    ////
    
    `Field` працює так само, як `Query`, `Path` і `Body`, у нього такі самі параметри тощо.
    
    /// note | "Технічні деталі"
    
    Насправді, `Query`, `Path` та інші, що ви побачите далі, створюють об'єкти підкласів загального класу `Param`, котрий сам є підкласом класу `FieldInfo` з Pydantic.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top