Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for jquery (0.24 sec)

  1. tests/query_test.go

    			t.Errorf("errors happened when query first: %v", err)
    		} else {
    			CheckUser(t, first, users[0])
    		}
    	})
    
    	t.Run("Last", func(t *testing.T) {
    		var last User
    		if err := DB.Where("name = ?", "find").Last(&last).Error; err != nil {
    			t.Errorf("errors happened when query last: %v", err)
    		} else {
    			CheckUser(t, last, users[2])
    		}
    	})
    
    	var all []User
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  2. fastapi/security/api_key.py

        pass
    
    
    class APIKeyQuery(APIKeyBase):
        """
        API key authentication using a query parameter.
    
        This defines the name of the query parameter that should be provided in the request
        with the API key and integrates that into the OpenAPI documentation. It extracts
        the key value sent in the query parameter automatically and provides it as the
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 23 22:29:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. cmd/admin-handlers-idp-ldap.go

    // GET <admin-prefix>/idp/ldap/policy-entities?[query-params]
    //
    // Query params:
    //
    //	user=... -> repeatable query parameter, specifying users to query for
    //	policy mapping
    //
    //	group=... -> repeatable query parameter, specifying groups to query for
    //	policy mapping
    //
    //	policy=... -> repeatable query parameter, specifying policy to query for
    //	user/group mapping
    //
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  4. tests/preload_test.go

    		t.Fatalf("failed to preload and find users: %v", err)
    	}
    
    	AssertEqual(t, result, users)
    	AssertEqual(t, len(query), 2) // Check preload queries are merged
    
    	if !regexp.MustCompile(`SELECT \* FROM .*tools.* WHERE .*IN.*`).MatchString(query[0]) {
    		t.Fatalf("Expected first query to preload manager tools, got: %s", query[0])
    	}
    }
    
    func TestEmbedPreload(t *testing.T) {
    	type Country struct {
    		ID   int `gorm:"primaryKey"`
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. migrator/migrator.go

    		return
    	})
    
    	return columnTypes, execErr
    }
    
    // CreateView create view from Query in gorm.ViewOption.
    // Query in gorm.ViewOption is a [subquery]
    //
    //	// CREATE VIEW `user_view` AS SELECT * FROM `users` WHERE age > 20
    //	q := DB.Model(&User{}).Where("age > ?", 20)
    //	DB.Debug().Migrator().CreateView("user_view", gorm.ViewOption{Query: q})
    //
    //	// CREATE OR REPLACE VIEW `users_view` AS SELECT * FROM `users` WITH CHECK OPTION
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  6. errors.go

    	// ErrModelAccessibleFieldsRequired model accessible fields required
    	ErrModelAccessibleFieldsRequired = errors.New("model accessible fields required")
    	// ErrSubQueryRequired sub query required
    	ErrSubQueryRequired = errors.New("sub query required")
    	// ErrInvalidData unsupported data
    	ErrInvalidData = errors.New("unsupported data")
    	// ErrUnsupportedDriver unsupported driver
    	ErrUnsupportedDriver = errors.New("unsupported driver")
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 02:53:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. docs/metrics/v3.md

    example to query API metrics for buckets `test1` and `test2`, make a scrape request to `/minio/metrics/v3/api/bucket?buckets=test1,test2`. 
    
    Instead of a metrics scrape, it is also possible to list the metrics that would be returned by a path. This is done by adding a `?list` query parameter. The MinIO server will then list all possible metrics that could be returned. During an actual metrics scrape, only available metrics are returned - not all of them. With the `list` query parameter, the...
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 26K bytes
    - Viewed (0)
  8. clause/where.go

    func (where Where) Build(builder Builder) {
    	if len(where.Exprs) == 1 {
    		if andCondition, ok := where.Exprs[0].(AndConditions); ok {
    			where.Exprs = andCondition.Exprs
    		}
    	}
    
    	// Switch position if the first query expression is a single Or condition
    	for idx, expr := range where.Exprs {
    		if v, ok := expr.(OrConditions); !ok || len(v.Exprs) > 1 {
    			if idx != 0 {
    				where.Exprs[0], where.Exprs[idx] = where.Exprs[idx], where.Exprs[0]
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

        * Large refactor, improvement, and simplification of param extraction from *path operations*.
        * Fix/add support for list *query parameters* with list defaults. New documentation: [Query parameter list / multiple values with defaults](https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#query-parameter-list-multiple-values-with-defaults).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  10. docs/zh-hant/docs/benchmarks.md

    該工具解決的問題越簡單,其效...
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 27 14:30:56 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top