Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 276 for Book (0.42 sec)

  1. tests/multi_primary_keys_test.go

    		Name   string `gorm:"primarykey"`
    		Value  string
    	}
    
    	type Book struct {
    		ID     int
    		Name   string
    		Labels []Label
    	}
    
    	DB.Migrator().DropTable(&Label{}, &Book{})
    	if err := DB.AutoMigrate(&Label{}, &Book{}); err != nil {
    		t.Fatalf("failed to migrate, got %v", err)
    	}
    
    	book := Book{
    		Name: "my book",
    		Labels: []Label{
    			{Name: "region", Value: "emea"},
    		},
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 12.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>And all the created {@code Book} instances can be tested with:
     *
     * <pre>
     * new ClassSanityTester()
     *     .forAllPublicStaticMethods(Books.class)
     *     .thatReturn(Book.class)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>And all the created {@code Book} instances can be tested with:
     *
     * <pre>
     * new ClassSanityTester()
     *     .forAllPublicStaticMethods(Books.class)
     *     .thatReturn(Book.class)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *
     * <p>For testing against the returned instances from a static factory class, such as
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>please use {@link ClassSanityTester#forAllPublicStaticMethods}.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *
     * <p>For testing against the returned instances from a static factory class, such as
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>please use {@link ClassSanityTester#forAllPublicStaticMethods}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  6. schema/relationship_test.go

    }
    
    type Author struct {
    	gorm.Model
    }
    
    type Book struct {
    	gorm.Model
    	Author   Author
    	AuthorID uint
    }
    
    func (Book) TableName() string {
    	return "my_schema.a_very_very_very_very_very_very_very_very_long_table_name"
    }
    
    func TestParseConstraintNameWithSchemaQualifiedLongTableName(t *testing.T) {
    	s, err := schema.Parse(
    		&Book{},
    		&sync.Map{},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

     * <li>{@code classDocbookDir} - A directory that should contain docbook template for each class referenced in main docbook template.</li>
     * </ul>
     *
     * Produces the following:
     * <ul>
     * <li>A docbook book XML file containing the reference.</li>
     * <li>A meta-data file containing information about where the canonical documentation for each class can be found:
     * as dsl doc, javadoc or groovydoc.</li>
     * </ul>
     */
    @CacheableTask
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/dict/protwords/admin_dict_protwords.jsp

                                    <div class="btn-group">
                                        <la:link href="/admin/dict" styleClass="btn btn-default btn-xs">
                                            <em class="fa fa-book">
                                            <la:message key="labels.dict_list_link"/>
                                        </la:link>
                                        <la:link href="list/1?dictId=${f:u(dictId)}"
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 07:47:04 GMT 2020
    - 9.9K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/dict/mapping/admin_dict_mapping.jsp

                                    <div class="btn-group">
                                        <la:link href="/admin/dict" styleClass="btn btn-default btn-xs">
                                            <em class="fa fa-book">
                                            <la:message key="labels.dict_list_link"/>
                                        </la:link>
                                        <la:link href="list/1?dictId=${f:u(dictId)}"
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Wed Feb 12 20:25:27 GMT 2020
    - 10.1K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/dict/synonym/admin_dict_synonym.jsp

                                    <div class="btn-group">
                                        <la:link href="/admin/dict" styleClass="btn btn-default btn-xs">
                                            <em class="fa fa-book">
                                            <la:message key="labels.dict_list_link"/>
                                        </la:link>
                                        <la:link href="list/1?dictId=${f:u(dictId)}"
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Tue Mar 24 13:43:18 GMT 2020
    - 10.1K bytes
    - Viewed (0)
Back to top