- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 165 for Distinct (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/distinct_test.go
var names []string DB.Table("users").Where("name like ?", "distinct%").Order("name").Pluck("name", &names) AssertEqual(t, names, []string{"distinct", "distinct", "distinct", "distinct-2", "distinct-3"}) var names1 []string DB.Model(&User{}).Where("name like ?", "distinct%").Distinct().Order("name").Pluck("Name", &names1) AssertEqual(t, names1, []string{"distinct", "distinct-2", "distinct-3"}) var names2 []string
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
@Test public void test_distinct_nullInput() { // Test distinct with null input String[] result = invokeDistinct(null); assertNotNull(result); assertEquals(0, result.length); assertSame(StringUtil.EMPTY_STRINGS, result); } @Test public void test_distinct_emptyArray() { // Test distinct with empty array String[] input = new String[0];Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.9K bytes - Click Count (0) -
chainable_api.go
tx.Statement.Table = "" } return } // Distinct specify distinct fields that you want querying // // // Select distinct names of users // db.Distinct("name").Find(&results) // // Select distinct name/age pairs from users // db.Distinct("name", "age").Find(&results) func (db *DB) Distinct(args ...interface{}) (tx *DB) { tx = db.getInstance() tx.Statement.Distinct = true if len(args) > 0 {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 14.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/HashMultiset.java
return new HashMultiset<>(); } /** * Creates a new, empty {@code HashMultiset} with the specified expected number of distinct * elements. * * @param distinctElements the expected number of distinct elements * @throws IllegalArgumentException if {@code distinctElements} is negative */ public static <E extends @Nullable Object> HashMultiset<E> create(int distinctElements) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 3.2K bytes - Click Count (0) -
clause/select.go
package clause // Select select attrs when querying, updating, creating type Select struct { Distinct bool Columns []Column Expression Expression } func (s Select) Name() string { return "SELECT" } func (s Select) Build(builder Builder) { if len(s.Columns) > 0 { if s.Distinct { builder.WriteString("DISTINCT ") } for idx, column := range s.Columns { if idx > 0 { builder.WriteByte(',')Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jul 14 07:51:24 GMT 2021 - 1.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multiset.java
* to implement the related methods as well. Finally, two collection views are provided: {@link * #elementSet} contains the distinct elements of the multiset "with duplicates collapsed", and * {@link #entrySet} is similar but contains {@link Entry Multiset.Entry} instances, each providing * both a distinct element and the count of that element. * * <p>In addition to these required methods, implementations of {@code Multiset} are expected toCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 20.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multiset.java
* to implement the related methods as well. Finally, two collection views are provided: {@link * #elementSet} contains the distinct elements of the multiset "with duplicates collapsed", and * {@link #entrySet} is similar but contains {@link Entry Multiset.Entry} instances, each providing * both a distinct element and the count of that element. * * <p>In addition to these required methods, implementations of {@code Multiset} are expected toCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 19.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ldap/LdapUser.java
final LdapManager ldapManager = ComponentUtil.getLdapManager(); permissions = distinct(ArrayUtils.addAll(ldapManager.getRoles(this, baseDn, accountFilter, groupFilter, roles -> { permissions = distinct(roles); ComponentUtil.getActivityHelper().permissionChanged(OptionalThing.of(new FessUserBean(this)));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedHashMultiset.java
return new LinkedHashMultiset<>(); } /** * Creates a new, empty {@code LinkedHashMultiset} with the specified expected number of distinct * elements. * * @param distinctElements the expected number of distinct elements * @throws IllegalArgumentException if {@code distinctElements} is negative */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java
form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s)) .filter(StringUtil::isNotBlank) .distinct() .collect(Collectors.joining("\n"))); form.virtualHosts = stream(entity.getVirtualHosts())
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:54:13 GMT 2026 - 21.8K bytes - Click Count (0)