- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 427 for groupby (0.08 sec)
-
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) -
tests/group_by_test.go
t.Errorf("name should be groupby, but got %v, total should be 60, but got %v", name, total) } if err := DB.Model(&User{}).Select("name, sum(age)").Where("name = ?", "groupby").Group("users.name").Row().Scan(&name, &total); err != nil { t.Errorf("no error should happen, but got %v", err) } if name != "groupby" || total != 60 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 3.3K bytes - Viewed (0) -
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) -
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) -
clause/benchmarks_test.go
}}, clause.Where{Exprs: []clause.Expression{ clause.Or(clause.Gt{Column: "score", Value: 100}, clause.Like{Column: "name", Value: "%linus%"}), }}, clause.GroupBy{Columns: []clause.Column{{Name: "role"}}, Having: []clause.Expression{clause.Eq{"role", "admin"}}}, clause.Limit{Limit: &limit10, Offset: 20},
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Oct 07 12:14:14 UTC 2022 - 1.9K bytes - Viewed (0) -
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) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt
private fun DocumentBuilderFactory.fetchLatests(minimumSupported: String, mavenMetadataUrl: String): List<String> { var latests = fetchVersionsFromMavenMetadata(mavenMetadataUrl) .groupBy { it.take(3) } .map { (_, versions) -> versions.first() } latests = (latests + minimumSupported).sorted() latests = latests.subList(latests.indexOf(minimumSupported) + 1, latests.size)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 02 09:17:07 UTC 2023 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/bsentity/dbmeta/GroupDbm.java
// ========= private static final GroupDbm _instance = new GroupDbm(); private GroupDbm() { } public static GroupDbm getInstance() { return _instance; } // ===================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/cbean/ca/GroupCA.java
*/ package org.codelibs.fess.es.user.cbean.ca; import org.codelibs.fess.es.user.cbean.ca.bs.BsGroupCA; /** * @author ESFlute (using FreeGen) */ public class GroupCA extends BsGroupCA {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 809 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/cbean/cq/GroupCQ.java
*/ package org.codelibs.fess.es.user.cbean.cq; import org.codelibs.fess.es.user.cbean.cq.bs.BsGroupCQ; /** * @author ESFlute (using FreeGen) */ public class GroupCQ extends BsGroupCQ {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 809 bytes - Viewed (0)