Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for schema (0.04 sec)

  1. schema/schema.go

    	cacheStore                *sync.Map
    }
    
    func (schema *Schema) String() string {
    	if schema.ModelType.Name() == "" {
    		return fmt.Sprintf("%s(%s)", schema.Name, schema.Table)
    	}
    	return fmt.Sprintf("%s.%s", schema.ModelType.PkgPath(), schema.ModelType.Name())
    }
    
    func (schema *Schema) MakeSlice() reflect.Value {
    	slice := reflect.MakeSlice(reflect.SliceOf(reflect.PointerTo(schema.ModelType)), 0, 20)
    	results := reflect.New(slice.Type())
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 19 06:35:49 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/schema-extra-example.md

    ///
    
    ### Поле `examples` у JSON Schema
    
    Пізніше JSON Schema додала поле <a href="https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5" class="external-link" target="_blank">`examples`</a> у нову версію специфікації.
    
    І вже OpenAPI 3.1.0 базується на цій новій версії (JSON Schema 2020-12), яка включає поле `examples`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jun 09 19:35:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/schema-extra-example.md

    ///
    
    ### Campo `examples` de JSON Schema
    
    Pero luego JSON Schema añadió un <a href="https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5" class="external-link" target="_blank">campo `examples`</a> a una nueva versión de la especificación.
    
    Y entonces el nuevo OpenAPI 3.1.0 se basó en la última versión (JSON Schema 2020-12) que incluía este nuevo campo `examples`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/schema-extra-example.md

    ///
    
    ### JSON Schemas Feld `examples`
    
    Aber dann fügte JSON Schema ein <a href="https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5" class="external-link" target="_blank">`examples`</a>-Feld zu einer neuen Version der Spezifikation hinzu.
    
    Und dann basierte das neue OpenAPI 3.1.0 auf der neuesten Version (JSON Schema 2020-12), die dieses neue Feld `examples` enthielt.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/schema-extra-example.md

    `"json_schema_extra"`를 생성된 JSON 스키마에서 보여주고 싶은 별도의 데이터와 `examples`를 포함하는 `dict`으로 설정할 수 있습니다.
    
    ////
    
    //// tab | Pydantic v1
    
    Pydantic v1에서 <a href="https://docs.pydantic.dev/1.10/usage/schema/#schema-customization" class="external-link" target="_blank">Pydantic 공식 문서: Schema customization</a>에서 설명하는 것처럼, 내부 클래스인 `Config`와 `schema_extra`를 사용할 것입니다.
    
    `schema_extra`를 생성된 JSON 스키마에서 보여주고 싶은 별도의 데이터와 `examples`를 포함하는 `dict`으로 설정할 수 있습니다.
    
    ////
    
    /// tip | 팁
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/first-steps.md

    Esta definição de *schema* inclui as rotas da sua API, os parâmetros possíveis que elas usam, etc.
    
    #### "*Schema*" de dados
    
    O termo "*schema*" também pode se referir à forma de alguns dados, como um conteúdo JSON.
    
    Nesse caso, significaria os atributos JSON e os tipos de dados que eles possuem, etc.
    
    #### OpenAPI e JSON *Schema*
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 09 20:41:07 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/first-steps.md

    Le schéma inclut les chemins de votre API, les paramètres potentiels de chaque chemin, etc.
    
    #### "Schéma" de données
    
    Le terme "schéma" peut aussi faire référence à la forme de la donnée, comme un contenu JSON.
    
    Dans ce cas, cela signifierait les attributs JSON, ainsi que les types de ces attributs, etc.
    
    #### OpenAPI et JSON Schema
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. schema/relationship.go

    			relation.Type = HasMany
    		}
    	}
    
    	if schema.err == nil {
    		schema.setRelation(relation)
    		switch relation.Type {
    		case HasOne:
    			schema.Relationships.HasOne = append(schema.Relationships.HasOne, relation)
    		case HasMany:
    			schema.Relationships.HasMany = append(schema.Relationships.HasMany, relation)
    		case BelongsTo:
    			schema.Relationships.BelongsTo = append(schema.Relationships.BelongsTo, relation)
    		case Many2Many:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  9. migrator/migrator.go

    			for _, rel := range dep.Schema.Relationships.Relations {
    				if rel.Field.IgnoreMigration {
    					continue
    				}
    				if c := rel.ParseConstraint(); c != nil && c.Schema == dep.Statement.Schema && c.Schema != c.ReferenceSchema {
    					dep.Depends = append(dep.Depends, c.ReferenceSchema)
    				}
    
    				if rel.Type == schema.HasOne || rel.Type == schema.HasMany {
    					beDependedOn[rel.FieldSchema] = true
    				}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jun 06 02:35:01 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  10. callbacks/create.go

    			return
    		}
    
    		var (
    			pkField     *schema.Field
    			pkFieldName = "@id"
    		)
    
    		if db.Statement.Schema != nil {
    			if db.Statement.Schema.PrioritizedPrimaryField == nil ||
    				!db.Statement.Schema.PrioritizedPrimaryField.HasDefaultValue ||
    				!db.Statement.Schema.PrioritizedPrimaryField.Readable {
    				return
    			}
    			pkField = db.Statement.Schema.PrioritizedPrimaryField
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top