Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for groupby1 (0.07 sec)

  1. tests/group_by_test.go

    	users := []User{{
    		Name:     "groupby",
    		Age:      10,
    		Birthday: Now(),
    		Active:   true,
    	}, {
    		Name:     "groupby",
    		Age:      20,
    		Birthday: Now(),
    	}, {
    		Name:     "groupby",
    		Age:      30,
    		Birthday: Now(),
    		Active:   true,
    	}, {
    		Name:     "groupby1",
    		Age:      110,
    		Birthday: Now(),
    	}, {
    		Name:     "groupby1",
    		Age:      220,
    		Birthday: Now(),
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  2. clause/group_by.go

    // GroupBy group by clause
    type GroupBy struct {
    	Columns []Column
    	Having  []Expression
    }
    
    // Name from clause name
    func (groupBy GroupBy) Name() string {
    	return "GROUP BY"
    }
    
    // Build build group by clause
    func (groupBy GroupBy) Build(builder Builder) {
    	for idx, column := range groupBy.Columns {
    		if idx > 0 {
    			builder.WriteByte(',')
    		}
    
    		builder.WriteQuoted(column)
    	}
    
    	if len(groupBy.Having) > 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 30 10:28:09 UTC 2021
    - 1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/exbhv/GroupBhv.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.exception.IllegalBehaviorStateException;
    import org.dbflute.util.DfTypeUtil;
    
    /**
     * @author FreeGen
     */
    public class GroupBhv extends BsGroupBhv {
        private String indexName = null;
    
        @Override
        protected String asEsIndex() {
            if (indexName == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/GroupService.java

    import jakarta.annotation.Resource;
    
    public class GroupService {
    
        @Resource
        protected GroupBhv groupBhv;
    
        @Resource
        protected FessConfig fessConfig;
    
        @Resource
        protected UserBhv userBhv;
    
        public List<Group> getGroupList(final GroupPager groupPager) {
    
            final PagingResultBean<Group> groupList = groupBhv.selectPage(cb -> {
                cb.paging(groupPager.getPageSize(), groupPager.getCurrentPageNumber());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

                .groupBy { "${it.major}.${it.minor}" }
                .map { (_, v) -> v.maxOrNull()!!.format() }
    
            // Limit to first and last release of each major version
            mainTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) }
                .groupBy { it.major }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. clause/group_by_test.go

    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.GroupBy{
    				Columns: []clause.Column{{Name: "role"}},
    				Having:  []clause.Expression{clause.Eq{"role", "admin"}},
    			}},
    			"SELECT * FROM `users` GROUP BY `role` HAVING `role` = ?",
    			[]interface{}{"admin"},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.GroupBy{
    				Columns: []clause.Column{{Name: "role"}},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                            os to (testProject to performanceTestDuration)
                        }
                }
            }
            return pairs.groupBy({ it.first }, { it.second })
                .mapValues { entry -> entry.value.groupBy({ it.first }, { it.second }) }
        }
    
        private
        fun readPerformanceTestConfigurations(performanceTestsCiJson: File): List<PerformanceTestConfiguration> {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. src/main/resources/esflute_user.xml

    	<component name="userBhv" class="org.codelibs.fess.es.user.exbhv.UserBhv"/>
    	<component name="roleBhv" class="org.codelibs.fess.es.user.exbhv.RoleBhv"/>
    	<component name="groupBhv" class="org.codelibs.fess.es.user.exbhv.GroupBhv"/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 11 14:16:53 UTC 2017
    - 718 bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            assertArrayEquals(new String[] { "group1", "group2" }, groups);
    
            OpenIdConnectCredential credential = new OpenIdConnectCredential(attributes);
            assertEquals("******@****.***", credential.getUserId());
            assertArrayEquals(new String[] { "group1", "group2" }, credential.getUserGroups());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

            @VisibleForTesting
            @JvmStatic
            fun selectVersionsFrom(minimumSupported: String, allVersions: List<String>): List<String> {
                val versionsByMinor = allVersions
                    .groupBy { it.take(3) } // e.g. 1.9
                    .toSortedMap()
                val latests = buildList {
                    versionsByMinor.entries.forEachIndexed { idx, entry ->
                        // Earliest stable of the minor
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 18:27:26 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top