- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 199 for names1 (0.04 sec)
-
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"})
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 2.5K bytes - Viewed (0) -
statement_test.go
for k, v := range map[string][]string{ "table.name": {"table", "name"}, "`table`.`name`": {"table", "name"}, "'table'.'name'": {"table", "name"}, "'table'.name": {"table", "name"}, "table1.name_23": {"table1", "name_23"}, "`table_1`.`name23`": {"table_1", "name23"}, "'table23'.'name_1'": {"table23", "name_1"}, "'table23'.name1": {"table23", "name1"}, "'name1'": {"", "name1"},
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Dec 23 13:19:41 UTC 2023 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
* * @param cfg the configuration to use * @param name the NetbiosName to copy from */ public Name(final Configuration cfg, final NetbiosName name) { this.config = cfg; this.name = name.getName(); this.hexCode = name.getNameType(); this.scope = name.getScope(); if (name instanceof Name) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java
* <p> * Example usage: * <pre> * {@literal @}Inject * {@literal @}Named("mysql") * private Repository mysqlRepository; * </pre> * * @see Inject * @see Qualifier * @since 4.0.0 */ @Qualifier @Retention(RUNTIME) @Documented public @interface Named { /** * The name identifier for the annotated element. * <p>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
Name() { } /** * Creates a NetBIOS name with the specified attributes. * * @param name the NetBIOS name (will be truncated to 15 characters if longer) * @param hexCode the NetBIOS name type/suffix * @param scope the NetBIOS scope identifier (uses default if null or empty) */ public Name(String name, final int hexCode, final String scope) { if (name.length() > 15) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.2K bytes - Viewed (0) -
tests/scopes_test.go
) func NameIn1And2(d *gorm.DB) *gorm.DB { return d.Where("name in (?)", []string{"ScopeUser1", "ScopeUser2"}) } func NameIn2And3(d *gorm.DB) *gorm.DB { return d.Where("name in (?)", []string{"ScopeUser2", "ScopeUser3"}) } func NameIn(names []string) func(d *gorm.DB) *gorm.DB { return func(d *gorm.DB) *gorm.DB { return d.Where("name in (?)", names) } } func TestScopes(t *testing.T) { users := []*User{
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 3.3K bytes - Viewed (0) -
schema/constraint.go
if chk := field.TagSettings["CHECK"]; chk != "" { names := strings.Split(chk, ",") if len(names) > 1 && regEnLetterAndMidline.MatchString(names[0]) { checks[names[0]] = CheckConstraint{Name: names[0], Constraint: strings.Join(names[1:], ","), Field: field} } else { if names[0] == "" { chk = strings.Join(names[1:], ",") } name := schema.namer.CheckerName(schema.Table, field.DBName)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Mar 18 07:33:54 UTC 2024 - 1.9K bytes - Viewed (0) -
clause/expression_test.go
}, { SQL: "name1 = @name1 AND name2 = @name2 AND name3 = @name1", Vars: []interface{}{sql.Named("name1", "jinzhu"), sql.Named("name2", "jinzhu2")}, Result: "name1 = ? AND name2 = ? AND name3 = ?", ExpectedVars: []interface{}{"jinzhu", "jinzhu2", "jinzhu"}, }, { SQL: "name1 = @name1 AND name2 = @name2 AND name3 = @name1", Vars: []interface{}{map[string]interface{}{"name1": "jinzhu", "name2": "jinzhu2"}},
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 10 05:34:33 UTC 2023 - 8.4K bytes - Viewed (0) -
tests/named_argument_test.go
DB.Where("name1 = @name OR name2 = @name OR name3 = @name", sql.Named("name", "jinzhu2")).First(&result2) AssertEqual(t, result2, namedUser) var result3 NamedUser DB.Where("name1 = @name OR name2 = @name OR name3 = @name", map[string]interface{}{"name": "jinzhu2"}).First(&result3) AssertEqual(t, result3, namedUser) var result4 NamedUser
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Dec 21 11:50:00 UTC 2021 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/DisposableUtilTest.java
assertThat(count, is(2)); assertThat(names, is("ab")); assertThat(DisposableUtil.disposables.size(), is(0)); } /** * */ public class TestDisposable implements Disposable { String name; /** * @param name */ public TestDisposable(final String name) { this.name = name; } @Override
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.3K bytes - Viewed (0)