Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 2,396 for create (0.09 sec)

  1. tests/embedded_struct_test.go

    		t.Fatalf("failed to auto migrate, got error: %v", err)
    	}
    
    	hnPost := HNPost{Content: Content{Content: "hello world"}}
    
    	if err := DB.Create(&hnPost).Error; err != nil {
    		t.Errorf("Failed to create got error %v", err)
    	}
    }
    
    func TestEmbeddedRelations(t *testing.T) {
    	type EmbUser struct {
    		gorm.Model
    		Name      string
    		Age       uint
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/path-params.md

    ### Create an `Enum` class
    
    Import `Enum` and create a sub-class that inherits from `str` and from `Enum`.
    
    By inheriting from `str` the API docs will be able to know that the values must be of type `string` and will be able to render correctly.
    
    Then create class attributes with fixed values, which will be the available valid values:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/log/bsbhv/BsFavoriteLogBhv.java

        public int selectCount(CBCall<FavoriteLogCB> cbLambda) {
            return facadeSelectCount(createCB(cbLambda));
        }
    
        public OptionalEntity<FavoriteLog> selectEntity(CBCall<FavoriteLogCB> cbLambda) {
            return facadeSelectEntity(createCB(cbLambda));
        }
    
        protected OptionalEntity<FavoriteLog> facadeSelectEntity(FavoriteLogCB cb) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/bsbhv/BsRoleBhv.java

            return facadeSelectList(createCB(cbLambda));
        }
    
        public PagingResultBean<Role> selectPage(CBCall<RoleCB> cbLambda) {
            // #pending same?
            return (PagingResultBean<Role>) facadeSelectList(createCB(cbLambda));
        }
    
        public void selectCursor(CBCall<RoleCB> cbLambda, EntityRowHandler<Role> entityLambda) {
            facadeSelectCursor(createCB(cbLambda), entityLambda);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsbhv/BsBadWordBhv.java

            return facadeSelectList(createCB(cbLambda));
        }
    
        public PagingResultBean<BadWord> selectPage(CBCall<BadWordCB> cbLambda) {
            // #pending same?
            return (PagingResultBean<BadWord>) facadeSelectList(createCB(cbLambda));
        }
    
        public void selectCursor(CBCall<BadWordCB> cbLambda, EntityRowHandler<BadWord> entityLambda) {
            facadeSelectCursor(createCB(cbLambda), entityLambda);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsbhv/BsCrawlingInfoParamBhv.java

        public int selectCount(CBCall<CrawlingInfoParamCB> cbLambda) {
            return facadeSelectCount(createCB(cbLambda));
        }
    
        public OptionalEntity<CrawlingInfoParam> selectEntity(CBCall<CrawlingInfoParamCB> cbLambda) {
            return facadeSelectEntity(createCB(cbLambda));
        }
    
        protected OptionalEntity<CrawlingInfoParam> facadeSelectEntity(CrawlingInfoParamCB cb) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsPathMappingBhv.java

        public int selectCount(CBCall<PathMappingCB> cbLambda) {
            return facadeSelectCount(createCB(cbLambda));
        }
    
        public OptionalEntity<PathMapping> selectEntity(CBCall<PathMappingCB> cbLambda) {
            return facadeSelectEntity(createCB(cbLambda));
        }
    
        protected OptionalEntity<PathMapping> facadeSelectEntity(PathMappingCB cb) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ListsTest.java

        suite.addTestSuite(ListsTest.class);
    
        suite.addTest(
            ListTestSuiteBuilder.using(
                    new TestStringListGenerator() {
                      @Override
                      protected List<String> create(String[] elements) {
                        String[] rest = new String[elements.length - 1];
                        arraycopy(elements, 1, rest, 0, elements.length - 1);
                        return Lists.asList(elements[0], rest);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ListsTest.java

        suite.addTestSuite(ListsTest.class);
    
        suite.addTest(
            ListTestSuiteBuilder.using(
                    new TestStringListGenerator() {
                      @Override
                      protected List<String> create(String[] elements) {
                        String[] rest = new String[elements.length - 1];
                        arraycopy(elements, 1, rest, 0, elements.length - 1);
                        return Lists.asList(elements[0], rest);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeResolver.java

             * 1. Prior to JDK 7u51, the JDK TypeVariable implementation interoperates with ours.
             * Therefore, we can always create our own TypeVariable.
             *
             * 2. Starting with JDK 7u51, the JDK TypeVariable implementations does not interoperate
             * with ours. Therefore, we have to be careful about whether we create our own TypeVariable:
             *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
Back to top