Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,647 for ID (0.12 sec)

  1. tests/scan_test.go

    		t.Errorf("Scan into struct map, got %#v", results)
    	}
    
    	type ID uint64
    	var id ID
    	DB.Raw("select id from users where id = ?", user2.ID).Scan(&id)
    	if uint(id) != user2.ID {
    		t.Errorf("Failed to scan to customized data type")
    	}
    
    	var resInt interface{}
    	resInt = &User{}
    	if err := DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Find(&resInt).Error; err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat May 28 14:18:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  2. tests/test_infer_param_optionality.py

    @user_router.get("/")
    def get_users():
        return [{"user_id": "u1"}, {"user_id": "u2"}]
    
    
    @user_router.get("/{user_id}")
    def get_user(user_id: str):
        return {"user_id": user_id}
    
    
    @item_router.get("/")
    def get_items(user_id: Optional[str] = None):
        if user_id is None:
            return [{"item_id": "i1", "user_id": "u1"}, {"item_id": "i2", "user_id": "u2"}]
        else:
            return [{"item_id": "i2", "user_id": user_id}]
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 13.3K bytes
    - Viewed (0)
  3. maven-core/src/test/resources-project-builder/merged-plugin-exec-order/wo-plugin-mgmt/pom.xml

            <version>1.0-SNAPSHOT</version>
            <executions>
              <execution>
                <id>parent-1</id>
                <phase>validate</phase>
                <goals>
                  <goal>parent-1</goal>
                </goals>
              </execution>
              <execution>
                <id>parent-2</id>
                <phase>validate</phase>
                <goals>
                  <goal>parent-2</goal>
                </goals>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 2.1K bytes
    - Viewed (0)
  4. maven-core/src/test/resources-project-builder/merged-plugin-exec-order/wo-plugin-mgmt/sub/pom.xml

            <version>1.0-SNAPSHOT</version>
            <executions>
              <execution>
                <id>child-1</id>
                <phase>validate</phase>
                <goals>
                  <goal>child-1</goal>
                </goals>
              </execution>
              <execution>
                <id>child-2</id>
                <phase>validate</phase>
                <goals>
                  <goal>child-2</goal>
                </goals>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/admin/SchedulerTests.java

        @Override
        protected Map<String, Object> createTestParam(int id) {
            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("target", "target" + id);
            requestBody.put("script_type", "script" + id);
            requestBody.put("sort_order", id);
            return requestBody;
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/projects/transform/before.pom

        </plugins>
      </build>
    
      <profiles>
        <profile>
          <id>default-active</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
          <properties>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          </properties>
        </profile>
        <profile>
          <id>file</id>
          <activation>
            <file>
              <exists>simple.xml</exists>
    Plain Text
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Thu Sep 14 07:51:37 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_websockets/test_tutorial002_an.py

                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"
                data = websocket.receive_text()
                assert data == f"Message text was: {message}, for item ID: foo"
    
    
    def test_websocket_with_header():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsBoostDocumentRuleCB.java

        public BoostDocumentRuleCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsBoostDocumentRuleCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (BoostDocumentRuleCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsRequestHeaderCB.java

        public RequestHeaderCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsRequestHeaderCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (RequestHeaderCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsFailureUrlCB.java

        public FailureUrlCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsFailureUrlCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (FailureUrlCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.9K bytes
    - Viewed (0)
Back to top