Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 775 for book (0.06 sec)

  1. tests/soft_delete_test.go

    	}
    
    	book := SoftDeleteBook{Name: "jinzhu", Pages: 10}
    	DB.Save(&book)
    
    	var count int64
    	if DB.Model(&SoftDeleteBook{}).Where("name = ?", book.Name).Count(&count).Error != nil || count != 1 {
    		t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count)
    	}
    
    	var pages uint
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. 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"},
    		},
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K 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)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. docs/en/docs/learn/index.md

    # Learn { #learn }
    
    Here are the introductory sections and the tutorials to learn **FastAPI**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 206 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}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. 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)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. 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{},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

    ///
    
    For example, this custom validator checks that the item ID starts with `isbn-` for an <abbr title="ISBN means International Standard Book Number">ISBN</abbr> book number or with `imdb-` for an <abbr title="IMDB (Internet Movie Database) is a website with information about movies">IMDB</abbr> movie URL ID:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

     *
     * <pre>
     * XmlTransformer transformer = new XmlTransformer();
     * transformer.setNamespaceAware(true);
     * transformer.setCacheDuration(30);
     * transformer.addFieldRule("title", "/book/title/text()");
     * transformer.addFieldRule("author", "/book/author/name/text()");
     *
     * ResponseData responseData = new ResponseData();
     * responseData.setResponseBody(new ByteArrayInputStream(xmlContent.getBytes(StandardCharsets.UTF_8)));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <sub-class-of type="application/x-bplist"/>
        <glob pattern="*.memgraph"/>
      </mime-type>
    
      <mime-type type="application/x-mobipocket-ebook">
        <acronym>MOBI</acronym>
        <_comment>Mobipocket Ebook</_comment>
        <magic priority="60">
          <match value="BOOKMOBI" type="string" offset="0:60" />
        </magic>
        <glob pattern="*.prc"/>
        <glob pattern="*.mobi"/>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Mar 13 08:18:01 UTC 2025
    - 320.1K bytes
    - Viewed (1)
Back to top