Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,013 for schemat (0.06 sec)

  1. association.go

    			}
    		}
    
    		switch rel.Type {
    		case schema.BelongsTo:
    			associationDB := association.DB.Session(&Session{})
    			tx := associationDB.Model(reflect.New(rel.Schema.ModelType).Interface())
    
    			_, pvs := schema.GetIdentityFieldValuesMap(association.DB.Statement.Context, reflectValue, rel.Schema.PrimaryFields)
    			if pcolumn, pvalues := schema.ToQueryValues(rel.Schema.Table, rel.Schema.PrimaryFieldDBNames, pvs); len(pvalues) > 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. schema/field_test.go

    }
    
    func TestParseFieldWithPermission(t *testing.T) {
    	user, err := schema.Parse(&UserWithPermissionControl{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("Failed to parse user with permission, got error %v", err)
    	}
    
    	fields := []*schema.Field{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/generate-clients.md

    Wenn Sie zur API-Dokumentation gehen, werden Sie sehen, dass diese die **Schemas** für die Daten enthält, welche in Requests gesendet und in Responses empfangen werden:
    
    <img src="/img/tutorial/generate-clients/image01.png">
    
    Sie können diese Schemas sehen, da sie mit den Modellen in der Anwendung deklariert wurden.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. soft_delete.go

    		stmt.SetColumn(sd.Field.DBName, curTime, true)
    
    		if stmt.Schema != nil {
    			_, queryValues := schema.GetIdentityFieldValuesMap(stmt.Context, stmt.ReflectValue, stmt.Schema.PrimaryFields)
    			column, values := schema.ToQueryValues(stmt.Table, stmt.Schema.PrimaryFieldDBNames, queryValues)
    
    			if len(values) > 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 4.5K bytes
    - Viewed (1)
  5. fastapi/param_functions.py

                OpenAPI-specific examples than the JSON Schema `examples`, that's the main
                use case for this.
    
                Read more about it in the
                [FastAPI docs for Declare Request Example Data](https://fastapi.tiangolo.com/tutorial/schema-extra-example/#using-the-openapi_examples-parameter).
                """
            ),
        ] = None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  6. tests/serializer_test.go

    	return "hello" + string(es), nil
    }
    
    type CustomSerializer struct {
    	prefix []byte
    }
    
    func NewCustomSerializer(prefix string) *CustomSerializer {
    	return &CustomSerializer{prefix: []byte(prefix)}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 21 14:09:38 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      // `distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema.
      // `nil` specifies that the distinguisher is disabled and thus will always be the empty string.
      // +optional
      optional FlowDistinguisherMethod distinguisherMethod = 3;
    
      // `rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if
      // at least one member of rules matches the request.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      // `distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema.
      // `nil` specifies that the distinguisher is disabled and thus will always be the empty string.
      // +optional
      optional FlowDistinguisherMethod distinguisherMethod = 3;
    
      // `rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if
      // at least one member of rules matches the request.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. migrator.go

    }
    
    // TableType table type interface
    type TableType interface {
    	Schema() string
    	Name() string
    	Type() string
    	Comment() (comment string, ok bool)
    }
    
    // Migrator migrator interface
    type Migrator interface {
    	// AutoMigrate
    	AutoMigrate(dst ...interface{}) error
    
    	// Database
    	CurrentDatabase() string
    	FullDataTypeOf(*schema.Field) clause.Expr
    	GetTypeAliases(databaseTypeName string) []string
    
    	// Tables
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/extending-openapi.md

    ### Generate the OpenAPI schema
    
    Then, use the same utility function to generate the OpenAPI schema, inside a `custom_openapi()` function:
    
    {* ../../docs_src/extending_openapi/tutorial001.py hl[2,15:21] *}
    
    ### Modify the OpenAPI schema
    
    Now you can add the ReDoc extension, adding a custom `x-logo` to the `info` "object" in the OpenAPI schema:
    
    {* ../../docs_src/extending_openapi/tutorial001.py hl[22:24] *}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top