Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 484 for Krause (0.35 sec)

  1. callbacks/associations.go

    		onConflict.Columns = make([]clause.Column, 0, len(s.PrimaryFieldDBNames))
    		for _, dbName := range s.PrimaryFieldDBNames {
    			onConflict.Columns = append(onConflict.Columns, clause.Column{Name: dbName})
    		}
    
    		onConflict.UpdateAll = stmt.DB.FullSaveAssociations
    		if !onConflict.UpdateAll {
    			onConflict.DoUpdates = clause.AssignmentColumns(defaultUpdatingColumns)
    		}
    	} else {
    		onConflict.DoNothing = true
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Apr 11 03:06:13 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. tests/associations_test.go

    		Field *schema.Field
    	}
    )
    
    func (myType) QueryClauses(f *schema.Field) []clause.Interface {
    	return []clause.Interface{emptyQueryClause{Field: f}}
    }
    
    func (sd emptyQueryClause) Name() string {
    	return "empty"
    }
    
    func (sd emptyQueryClause) Build(clause.Builder) {
    }
    
    func (sd emptyQueryClause) MergeClause(*clause.Clause) {
    }
    
    func (sd emptyQueryClause) ModifyStatement(stmt *gorm.Statement) {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          Throwable cause, Class<X> exceptionClass) throws X {
        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        }
        if (cause instanceof RuntimeException) {
          throw new UncheckedExecutionException(cause);
        }
        throw newWithCause(exceptionClass, cause);
      }
    
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                    reference = MojoExecutionException.class.getSimpleName();
    
                    Throwable cause = exception.getCause();
                    if (cause instanceof IOException) {
                        cause = cause.getCause();
                        if (cause instanceof ConnectException) {
                            reference = ConnectException.class.getSimpleName();
                        }
                    }
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  5. tests/preload_test.go

    	CheckUser(t, user, user)
    
    	var user2 User
    	DB.Preload(clause.Associations).Find(&user2, "id = ?", user.ID)
    	CheckUser(t, user2, user)
    
    	user3 := *GetUser("preload_with_associations_new", Config{
    		Account:   true,
    		Pets:      2,
    		Toys:      3,
    		Company:   true,
    		Manager:   true,
    		Team:      4,
    		Languages: 3,
    		Friends:   1,
    	})
    
    	DB.Preload(clause.Associations).Find(&user3, "id = ?", user.ID)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            }
        }
    
        private void handleChecksumFailure(String checksumPolicy, String message, Throwable cause)
                throws ChecksumFailedException {
            if (ArtifactRepositoryPolicy.CHECKSUM_POLICY_FAIL.equals(checksumPolicy)) {
                throw new ChecksumFailedException(message, cause);
            } else if (!ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE.equals(checksumPolicy)) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
            handler -->> client: HTTP error response
        end
        dep ->> operation: Run dependency, e.g. DB session
        opt raise
            operation -->> dep: Raise Exception (e.g. HTTPException)
            opt handle
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. tests/test_dependency_contextmanager.py

    
    def test_async_raise_other():
        assert state["/async_raise"] == "asyncgen raise not started"
        with pytest.raises(OtherDependencyError):
            client.get("/async_raise_other")
        assert state["/async_raise"] == "asyncgen raise finalized"
        assert "/async_raise" not in errors
    
    
    def test_sync_raise_other():
        assert state["/sync_raise"] == "generator raise not started"
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. callbacks/preload.go

    import (
    	"fmt"
    	"reflect"
    	"sort"
    	"strings"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    // parsePreloadMap extracts nested preloads. e.g.
    //
    //	// schema has a "k0" relation and a "k7.k8" embedded relation
    //	parsePreloadMap(schema, map[string][]interface{}{
    //		clause.Associations: {"arg1"},
    //		"k1":                {"arg2"},
    //		"k2.k3":             {"arg3"},
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        } catch (ExecutionException e) {
          builder.append("FAILURE, cause=[").append(e.getCause()).append("]");
        } catch (CancellationException e) {
          builder.append("CANCELLED");
        } catch (RuntimeException e) {
          builder.append("UNKNOWN, cause=[").append(e.getClass()).append(" thrown from get()]");
        }
      }
    
      private enum State {
        PENDING {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top