Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 287 for Unscope (0.11 sec)

  1. tests/preload_test.go

    	if len(user4.Pets) != 0 {
    		t.Fatalf("User.Pet[0] was deleted and should not exist.")
    	}
    
    	var user5 User
    	DB.Unscoped().Preload(clause.Associations+"."+clause.Associations).Find(&user5, "id = ?", user.ID)
    	CheckUserUnscoped(t, user5, user)
    
    	var user6 *User
    	DB.Unscoped().Preload("Pets.Toy").Find(&user6, "id = ?", user.ID)
    	CheckUserUnscoped(t, *user6, user)
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. callbacks/delete.go

    				modelValue := reflect.New(rel.FieldSchema.ModelType).Interface()
    				tx := db.Session(&gorm.Session{NewDB: true}).Model(modelValue)
    				withoutConditions := false
    				if db.Statement.Unscoped {
    					tx = tx.Unscoped()
    				}
    
    				if len(db.Statement.Selects) > 0 {
    					selects := make([]string, 0, len(db.Statement.Selects))
    					for _, s := range db.Statement.Selects {
    						if s == clause.Associations {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/projects/project-dependencies-resolver/project-with-exclusions/pom.xml

      <version>1.0-SNAPSHOT</version>
      <dependencies>
        <dependency>
          <groupId>org.apache.maven.its</groupId>
          <artifactId>maven-core-it-support</artifactId>
          <version>1.3</version>
          <scope>runtime</scope>
          <exclusions>
            <exclusion>
              <groupId>commons-lang</groupId>
              <artifactId>commons-lang</artifactId>
            </exclusion>
          </exclusions>
        </dependency>
      </dependencies>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. tests/associations_has_many_test.go

    	// test delete
    	if err := tx.Model(&item).Association("Contents").Unscoped().Delete(&contents[0]); err != nil {
    		t.Errorf("failed to delete Contents, got error: %v", err)
    	}
    	if count := tx.Model(&item).Association("Contents").Count(); count != 2 {
    		t.Errorf("expected %d contents, got %d", 2, count)
    	}
    
    	// test clear
    	if err := tx.Model(&item).Association("Contents").Unscoped().Clear(); err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/After.java

        /**
         * The phase name.
         */
        String phase();
    
        /**
         * The type of this pointer.
         */
        Type type();
    
        /**
         * The scope for dependencies, only if {@code type() == Type.Dependencies}.
         */
        String scope() default "";
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 29 05:48:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. tests/sql_builder_test.go

    		t.Fatalf("invalid sql generated, got %v", sql)
    	}
    
    	sql = dryRunDB.Where("a = ? or b = ?", "a", "b").Unscoped().Find(&User{}).Statement.SQL.String()
    	if !regexp.MustCompile(`WHERE a = .+ or b = .+$`).MatchString(sql) {
    		t.Fatalf("invalid sql generated, got %v", sql)
    	}
    
    	sql = dryRunDB.Or("a = ? or b = ?", "a", "b").Unscoped().Find(&User{}).Statement.SQL.String()
    	if !regexp.MustCompile(`WHERE a = .+ or b = .+$`).MatchString(sql) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. pom.xml

    			<artifactId>commons-io</artifactId>
    			<version>2.19.0</version>
    		</dependency>
    		<dependency>
    			<groupId>junit</groupId>
    			<artifactId>junit</artifactId>
    			<version>4.13.2</version>
    			<scope>test</scope>
    		</dependency>
    	</dependencies>
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Fri Jun 20 20:21:38 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. api/maven-api-di/src/main/java/org/apache/maven/api/di/SessionScoped.java

     * and discarded after session execution completes.
     * <p>
     * A {@code org.apache.maven.api.Session} object is available in the scope of this annotation.
     *
     * @since 4.0.0
     */
    @Scope
    @Documented
    @Retention(RUNTIME)
    @Target({TYPE, METHOD})
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Sep 12 06:14:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        /** Configuration key for OpenID Connect client ID. */
        protected static final String OIC_CLIENT_ID = "oic.client.id";
    
        /** Configuration key for OpenID Connect scope. */
        protected static final String OIC_SCOPE = "oic.scope";
    
        /** Configuration key for OpenID Connect redirect URL. */
        protected static final String OIC_REDIRECT_URL = "oic.redirect.url";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. docs/em/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial001.py hl[18:26] *}
    
    /// note | 📡 ℹ
    
    `Request` ✔️ `request.scope` 🔢, 👈 🐍 `dict` ⚗ 🗃 🔗 📨.
    
     `Request` ✔️ `request.receive`, 👈 🔢 "📨" 💪 📨.
    
     `scope` `dict` &amp; `receive` 🔢 👯‍♂️ 🍕 🔫 🔧.
    
     &amp; 👈 2️⃣ 👜, `scope` &amp; `receive`, ⚫️❔ 💪 ✍ 🆕 `Request` 👐.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top