Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 2,049 for where (0.06 sec)

  1. tests/postgres_test.go

    	}
    
    	var result Yasuo
    	if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu" {
    		t.Errorf("No error should happen, but got %v", err)
    	}
    
    	if err := DB.Where("id = $1", yasuo.ID).First(&Yasuo{}).Error; err != nil || yasuo.Name != "jinzhu" {
    		t.Errorf("No error should happen, but got %v", err)
    	}
    
    	yasuo.Name = "jinzhu1"
    	if err := DB.Save(&yasuo).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashing.java

        } else if (table instanceof short[]) {
          Arrays.fill((short[]) table, (short) 0);
        } else {
          Arrays.fill((int[]) table, 0);
        }
      }
    
      /**
       * Returns {@code table[index]}, where {@code table} is actually a {@code byte[]}, {@code
       * short[]}, or {@code int[]}. When it is a {@code byte[]} or {@code short[]}, the returned value
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/first-steps.md

    ///
    
    ### Step 2: create a `FastAPI` "instance"
    
    {* ../../docs_src/first_steps/tutorial001.py hl[3] *}
    
    Here the `app` variable will be an "instance" of the class `FastAPI`.
    
    This will be the main point of interaction to create all your API.
    
    ### Step 3: create a *path operation*
    
    #### Path
    
    "Path" here refers to the last part of the URL starting from the first `/`.
    
    So, in a URL like:
    
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:48:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       * or after it has returned. If startup fails, the invocation should cause a call to {@link
       * #notifyFailed(Throwable)} instead.
       *
       * <p>This method should return promptly; prefer to do work on a different thread where it is
       * convenient. It is invoked exactly once on service startup, even when {@link #startAsync} is
       * called multiple times.
       */
      @ForOverride
      protected abstract void doStart();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/openapi-callbacks.md

    Temporarily adopting this point of view (of the *external developer*) can help you feel like it's more obvious where to put the parameters, the Pydantic model for the body, for the response, etc. for that *external API*.
    
    ///
    
    ### Create a callback `APIRouter`
    
    First create a new `APIRouter` that will contain one or more callbacks.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. tests/non_std_test.go

    	if updatedAt1.Format(time.RFC3339Nano) == animal.UpdatedAt.Format(time.RFC3339Nano) {
    		t.Errorf("UpdatedAt should be updated")
    	}
    
    	var animals []Animal
    	DB.Find(&animals)
    	if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) {
    		t.Error("RowsAffected should be correct when do batch update")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenArtifactRelocationSource.java

     *
     * @since 4.0.0
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    public interface MavenArtifactRelocationSource {
        /**
         * Returns {@link Artifact} instance where to relocate to, or {@code null}.
         *
         * @param session The session, never {@code null}.
         * @param result The artifact descriptor result, never {@code null}.
         * @param model The artifact model, never {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/30_contributor_regression.yml

            You can use [the template](https://github.com/gradle/gradle-issue-reproducer) with a Gradle GitHub action set up to showcase your problem.
            In the rare cases where this is infeasible, we will also accept a detailed set of instructions.
            You can also use [Gradle Project Replicator](https://github.com/android/project-replicator) to reproduce the structure of your project.
        validations:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 09 14:48:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java

        delegate().addListener(listener, exec);
      }
    
      // TODO(cpovirk): Use standard Javadoc form for SimpleForwarding* class and constructor
      /**
       * A simplified version of {@link ForwardingListenableFuture} where subclasses can pass in an
       * already constructed {@link ListenableFuture} as the delegate.
       *
       * @since 9.0
       */
      public abstract static class SimpleForwardingListenableFuture<V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 04 12:23:41 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/StandardMutableGraph.java

     * graphs. Instances of this class should be constructed with {@link GraphBuilder}.
     *
     * <p>Time complexities for mutation methods are all O(1) except for {@code removeNode(N node)},
     * which is in O(d_node) where d_node is the degree of {@code node}.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.4K bytes
    - Viewed (0)
Back to top