Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Kissling (1.39 sec)

  1. errors.go

    	ErrInvalidTransaction = errors.New("invalid transaction")
    	// ErrNotImplemented not implemented
    	ErrNotImplemented = errors.New("not implemented")
    	// ErrMissingWhereClause missing where clause
    	ErrMissingWhereClause = errors.New("WHERE conditions required")
    	// ErrUnsupportedRelation unsupported relations
    	ErrUnsupportedRelation = errors.New("unsupported relations")
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 02:53:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. schema/index_test.go

    func CheckIndices(t *testing.T, expected, actual map[string]schema.Index) {
    	for k, ei := range expected {
    		t.Run(k, func(t *testing.T) {
    			ai, ok := actual[k]
    			if !ok {
    				t.Errorf("expected index %q but actual missing", k)
    				return
    			}
    			tests.AssertObjEqual(t, ai, ei, "Name", "Class", "Type", "Where", "Comment", "Option")
    			if len(ei.Fields) != len(ai.Fields) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. tests/delete_test.go

    	}
    }
    
    func TestBlockGlobalDelete(t *testing.T) {
    	if err := DB.Delete(&User{}).Error; err == nil || !errors.Is(err, gorm.ErrMissingWhereClause) {
    		t.Errorf("should returns missing WHERE clause while deleting error")
    	}
    
    	if err := DB.Session(&gorm.Session{AllowGlobalUpdate: true}).Delete(&User{}).Error; err != nil {
    		t.Errorf("should returns no error while enable global update, but got err %v", err)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Oct 10 07:03:34 GMT 2023
    - 9.4K bytes
    - Viewed (0)
Back to top