Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,067 for vorm (0.02 sec)

  1. utils/tests/models.go

    	Friends   []*User    `gorm:"many2many:user_friends;"`
    	Active    bool
    }
    
    type Account struct {
    	gorm.Model
    	UserID sql.NullInt64
    	Number string
    }
    
    type Pet struct {
    	gorm.Model
    	UserID *uint
    	Name   string
    	Toy    Toy `gorm:"polymorphic:Owner;"`
    }
    
    type Toy struct {
    	gorm.Model
    	Name      string
    	OwnerID   string
    	OwnerType string
    }
    
    type Tools struct {
    	gorm.Model
    	Name     string
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. tests/update_belongs_to_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestUpdateBelongsTo(t *testing.T) {
    	user := *GetUser("update-belongs-to", Config{})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Company = Company{Name: "company-belongs-to-association"}
    	user.Manager = &User{Name: "manager-belongs-to-association"}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. schema/field_test.go

    	TypeAlias struct {
    		ID
    		INT     `gorm:"column:fint"`
    		INT8    `gorm:"column:fint8"`
    		INT16   `gorm:"column:fint16"`
    		INT32   `gorm:"column:fint32"`
    		INT64   `gorm:"column:fint64"`
    		UINT    `gorm:"column:fuint"`
    		UINT8   `gorm:"column:fuint8"`
    		UINT16  `gorm:"column:fuint16"`
    		UINT32  `gorm:"column:fuint32"`
    		UINT64  `gorm:"column:fuint64"`
    		FLOAT32 `gorm:"column:ffloat32"`
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  4. migrator/migrator.go

    package migrator
    
    import (
    	"context"
    	"database/sql"
    	"errors"
    	"fmt"
    	"reflect"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/schema"
    )
    
    // This regular expression seeks to find a sequence of digits (\d+) among zero or more non-digit characters (\D*),
    // with a possible trailing non-digit character (\D?).
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jun 06 02:35:01 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java

         * Deletes a specific search log entry.
         *
         * @param form the edit form containing the log entry information
         * @return HTML response redirecting to the list page after deletion
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS);
            validate(form, messages -> {}, this::asDetailsHtml);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. tests/preload_test.go

    package tests_test
    
    import (
    	"context"
    	"encoding/json"
    	"regexp"
    	"sort"
    	"strconv"
    	"sync"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestPreloadWithAssociations(t *testing.T) {
    	user := *GetUser("preload_with_associations", Config{
    		Account:   true,
    		Pets:      2,
    		Toys:      3,
    		Company:   true,
    		Manager:   true,
    		Team:      4,
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. tests/go.mod

    module gorm.io/gorm/tests
    
    go 1.23.0
    
    require (
    	github.com/google/uuid v1.6.0
    	github.com/jinzhu/now v1.1.5
    	github.com/lib/pq v1.10.9
    	github.com/stretchr/testify v1.11.1
    	gorm.io/driver/gaussdb v0.1.0
    	gorm.io/driver/mysql v1.6.0
    	gorm.io/driver/postgres v1.6.0
    	gorm.io/driver/sqlite v1.6.0
    	gorm.io/driver/sqlserver v1.6.1
    	gorm.io/gorm v1.30.2
    )
    
    require (
    	filippo.io/edwards25519 v1.1.0 // indirect
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/request-forms.md

    /// info | 정보
    
    `Form`은 `Body`에서 직접 상속되는 클래스입니다.
    
    ///
    
    /// tip | 팁
    
    폼 본문을 선언할 때, 폼이 없으면 매개변수가 쿼리 매개변수나 본문(JSON) 매개변수로 해석(interpret)되기 때문에 `Form`을 명시적으로 사용해야 합니다.
    
    ///
    
    ## "폼 필드"에 대해
    
    HTML 폼(`<form></form>`)이 데이터를 서버로 보내는 방식은 일반적으로 해당 데이터에 대해 "특수" 인코딩을 사용하며, 이는 JSON과 다릅니다.
    
    **FastAPI**는 JSON 대신 올바른 위치에서 해당 데이터를 읽습니다.
    
    /// note | 기술 세부사항
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:42:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/request-forms.md

    $ pip install python-multipart
    ```
    
    ///
    
    ## Importe `Form`
    
    Importe `Form` de `fastapi`:
    
    {* ../../docs_src/request_forms/tutorial001.py hl[1] *}
    
    ## Declare parâmetros de `Form`
    
    Crie parâmetros de formulário da mesma forma que você faria para `Body` ou `Query`:
    
    {* ../../docs_src/request_forms/tutorial001.py hl[7] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Jan 22 13:41:56 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

        }
    
        /**
         * Deletes the specified plugin.
         *
         * @param form the delete form containing plugin information
         * @return HTML response redirecting to the plugin list
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final DeleteForm form) {
            validate(form, messages -> {}, () -> asHtml(path_AdminPlugin_AdminPluginJsp));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top