Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for scopes (0.03 sec)

  1. generics.go

    	return chainG[T]{
    		execG: execG[T]{g: &g[T]{
    			db:  c.g.db,
    			ops: append(append([]op(nil), c.g.ops...), v),
    		}},
    	}
    }
    
    func (c chainG[T]) Scopes(scopes ...func(db *Statement)) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		for _, fc := range scopes {
    			fc(db.Statement)
    		}
    		return db
    	})
    }
    
    func (c chainG[T]) Table(name string, args ...interface{}) ChainInterface[T] {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. statement.go

    	}
    
    	if len(stmt.Joins) > 0 {
    		newStmt.Joins = make([]join, len(stmt.Joins))
    		copy(newStmt.Joins, stmt.Joins)
    	}
    
    	if len(stmt.scopes) > 0 {
    		newStmt.scopes = make([]func(*DB) *DB, len(stmt.scopes))
    		copy(newStmt.scopes, stmt.scopes)
    	}
    
    	stmt.Settings.Range(func(k, v interface{}) bool {
    		newStmt.Settings.Store(k, v)
    		return true
    	})
    
    	return newStmt
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. tests/generics_test.go

    	filterName1 := func(stmt *gorm.Statement) {
    		stmt.Where("name = ?", "GenericsScopes1")
    	}
    
    	results, err := gorm.G[User](DB).Scopes(filterName1).Find(ctx)
    	if err != nil {
    		t.Fatalf("Scopes failed: %v", err)
    	}
    	if len(results) != 1 || results[0].Name != "GenericsScopes1" {
    		t.Fatalf("Scopes expected 1, got %d", len(results))
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    ## 0.13.0
    
    * Improve/upgrade OAuth2 scopes support with `SecurityScopes`:
        * `SecurityScopes` can be declared as a parameter like `Request`, to get the scopes of all super-dependencies/dependants.
        * Improve `Security` handling, merging scopes when declaring `SecurityScopes`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  5. fess-crawler/pom.xml

    			<version>${junit.version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.dbflute.utflute</groupId>
    			<artifactId>utflute-core</artifactId>
    			<version>${utflute.version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.mortbay.jetty</groupId>
    			<artifactId>jetty</artifactId>
    			<version>6.1.26</version>
    			<scope>test</scope>
    		</dependency>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. guava-gwt/pom.xml

          <artifactId>guava-testlib</artifactId>
          <version>${project.version}</version>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
          <artifactId>guava-testlib</artifactId>
          <version>${project.version}</version>
          <classifier>tests</classifier>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. pom.xml

    			<scope>provided</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.codelibs.opensearch</groupId>
    			<artifactId>opensearch-runner</artifactId>
    			<version>${opensearch.runner.version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>junit</groupId>
    			<artifactId>junit</artifactId>
    			<version>${junit.version}</version>
    			<scope>test</scope>
    		</dependency>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Sep 06 03:14:57 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/pom.xml

    			<scope>provided</scope>
    		</dependency>
    		<dependency>
    			<groupId>junit</groupId>
    			<artifactId>junit</artifactId>
    			<version>${junit.version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.dbflute.utflute</groupId>
    			<artifactId>utflute-lasta-di</artifactId>
    			<version>${utflute.version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. fess-crawler-lasta/pom.xml

    			<version>${utflute.version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.mortbay.jetty</groupId>
    			<artifactId>jetty</artifactId>
    			<version>6.1.26</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.slf4j</groupId>
    			<artifactId>slf4j-simple</artifactId>
    			<version>${slf4j.version}</version>
    			<scope>test</scope>
    		</dependency>
    	</dependencies>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. apache-maven/pom.xml

        </dependency>
    
        <!-- CLI -->
        <dependency>
          <groupId>org.slf4j</groupId>
          <artifactId>jcl-over-slf4j</artifactId>
          <version>${slf4jVersion}</version>
          <scope>runtime</scope>
        </dependency>
        <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-connector-basic</artifactId>
        </dependency>
        <dependency>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Sep 06 21:30:13 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top