Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for LIKE (0.18 sec)

  1. clause/where_test.go

    			}, clause.Where{
    				Exprs: []clause.Expression{clause.Or(clause.Gt{Column: "score", Value: 100}, clause.Like{Column: "name", Value: "%linus%"})},
    			}},
    			"SELECT * FROM `users` WHERE `users`.`id` = ? AND `age` > ? OR `name` <> ? AND (`score` > ? OR `name` LIKE ?)",
    			[]interface{}{"1", 18, "jinzhu", 100, "%linus%"},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. tests/query_test.go

    		t.Fatalf("got error: %v", err)
    	}
    
    	if len(users) != 4 {
    		t.Errorf("Four users should be found, instead found %d", len(users))
    	}
    
    	DB.Select("*").Where("name LIKE ?", "subquery%").Where("age >= (?)", DB.
    		Select("AVG(age)").Table("users").Where("name LIKE ?", "subquery%")).Find(&users)
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  3. utils/utils.go

    		return strconv.FormatUint(uint64(v), 10)
    	case uint64:
    		return strconv.FormatUint(v, 10)
    	}
    	return ""
    }
    
    const nestedRelationSplit = "__"
    
    // NestedRelationName nested relationships like `Manager__Company`
    func NestedRelationName(prefix, name string) string {
    	return prefix + nestedRelationSplit + name
    }
    
    // SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}`
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/2-unique.md

    ### New unique package
    
    The new [unique](/pkg/unique) package provides facilites for
    canonicalizing values (like "interning" or "hash-consing").
    
    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 22 18:14:07 GMT 2024
    - 578 bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

        private fun inapplicableCandidateDiagnostic() = KtNonBoundToPsiErrorDiagnostic(null, "Inapplicable candidate", token)
    
        /**
         * Resolves call expressions like `Foo<Bar>` or `test.Foo<Bar>` in calls like `Foo<Bar>::foo`, `test.Foo<Bar>::foo` and class literals like `Foo<Bar>`::class.java.
         *
         * We have a separate [KtGenericTypeQualifier] type of [KtCall].
         */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  6. .cm/platform_labels.cm

    # TODO: It would be very nice to avoid having this list somehow, but it needs to be defined in YAML and not in JS for the looping template to work
    # Keys like `- build_infrastructure:` do not mean anything, they just need to be unique
    # The `name:` field specifies the platform label, e.g. `name: build_infrastructure` => `platform:build_infrastructure` label
    platforms:
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 22 15:32:31 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

     * of {@code Comparator} for pre-Java-8 users, in the same sense that {@link FluentIterable} is an
     * enriched {@link Iterable} for pre-Java-8 users.
     *
     * <h3>Three types of methods</h3>
     *
     * Like other fluent types, there are three types of methods present: methods for <i>acquiring</i>,
     * <i>chaining</i>, and <i>using</i>.
     *
     * <h4>Acquiring</h4>
     *
     * <p>The common ways to get an instance of {@code Ordering} are:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

     * common ways to create a {@code ListenableFuture} include instantiating a {@link SettableFuture},
     * submitting a task to a {@link ListeningExecutorService}, and deriving a {@code Future} from an
     * existing one, typically using methods like {@link Futures#transform(ListenableFuture,
     * com.google.common.base.Function, java.util.concurrent.Executor) Futures.transform} and {@link
     * Futures#catching(ListenableFuture, Class, com.google.common.base.Function,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  9. tests/preload_test.go

    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	var userIDs []uint
    	for _, user := range users {
    		userIDs = append(userIDs, user.ID)
    	}
    
    	var users2 []User
    	DB.Preload("Pets.Toy", "name like ?", `%preload_3`).Find(&users2, "id IN ?", userIDs)
    
    	for idx, user := range users2[0:2] {
    		for _, pet := range user.Pets {
    			if pet.Toy.Name != "" {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // contract.
        // This is somewhat annoying, but turns out to be very fast in practice. Alternatively, we could
        // drop the contract on the method that enforces this queue like behavior since depending on it
        // is likely to be a bug anyway.
    
        // N.B. All writes to the list and the next pointers must have happened before the above
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
Back to top