Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 532 for LIMIT (0.04 sec)

  1. tests/query_test.go

    		{Name: "LimitUser6", Age: 20},
    	}
    
    	DB.Create(&users)
    
    	var users1, users2, users3 []User
    	DB.Order("age desc").Limit(3).Find(&users1).Limit(5).Find(&users2).Limit(-1).Find(&users3)
    
    	if len(users1) != 3 || len(users2) != 5 || len(users3) <= 5 {
    		t.Errorf("Limit should works, users1 %v users2 %v users3 %v", len(users1), len(users2), len(users3))
    	}
    }
    
    func TestOffset(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  2. helm/minio/templates/_helper_create_user.txt

    MINIO_ACCESSKEY_SECRETKEY_TMP="/tmp/accessKey_and_secretKey_tmp"
    
    # connectToMinio
    # Use a check-sleep-check loop to wait for MinIO service to be available
    connectToMinio() {
      SCHEME=$1
      ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts
      set -e ; # fail if we can't read the keys.
      ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ;
      set +e ; # The connections to minio are allowed to fail.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 12 23:43:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. docs_src/query_param_models/tutorial002_an.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Annotated, Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: List[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 518 bytes
    - Viewed (0)
  4. .github/workflows/people.yml

          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
            if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
            with:
              limit-access-to-actor: true
          - uses: ./.github/actions/people
            with:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. .github/workflows/notify-translations.yml

          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
            if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
            with:
              limit-access-to-actor: true
          - uses: ./.github/actions/notify-translations
            with:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. .github/workflows/stale-issues.yml

              exempt-issue-labels: 'override-stale'
              #Comma separated list of labels that can be assigned to PRs to exclude them from being marked as stale
              exempt-pr-labels: "override-stale"
              #Limit the No. of API calls in one run default value is 30.
              operations-per-run: 1000
              days-before-issue-stale: 7
              days-before-issue-close: 7
              stale-issue-label: "stale"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jun 26 15:41:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. docs/bucket/quota/README.md

    ![quota](https://raw.githubusercontent.com/minio/minio/master/docs/bucket/quota/bucketquota.png)
    
    Buckets can be configured to have `Hard` quota - it disallows writes to the bucket after configured quota limit is reached.
    
    ## Prerequisites
    
    - Install MinIO - [MinIO Quickstart Guide](https://min.io/docs/minio/linux/index.html#procedure).
    - [Use `mc` with MinIO Server](https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  8. cmd/object-api-datatypes.go

    	// Indicates whether the returned list of multipart uploads is truncated. A
    	// value of true indicates that the list was truncated. The list can be truncated
    	// if the number of multipart uploads exceeds the limit allowed or specified
    	// by max uploads.
    	IsTruncated bool
    
    	// List of all pending uploads.
    	Uploads []MultipartInfo
    
    	// When a prefix is provided in the request, The result contains only keys
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. integration-tests/gradle/gradlew

                warn "Could not query maximum file descriptor limit"
        esac
        case $MAX_FD in  #(
          '' | soft) :;; #(
          *)
            # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
            # shellcheck disable=SC2039,SC3045
            ulimit -n "$MAX_FD" ||
                warn "Could not set maximum file descriptor limit to $MAX_FD"
        esac
    fi
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:07:19 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * stored bytes exceeds the limit, the cache will remove entries in the background until the limit
     * is satisfied. The limit is not strict: the cache may temporarily exceed it while waiting for
     * files to be deleted. The limit does not include filesystem overhead or the cache journal so
     * space-sensitive applications should set a conservative limit.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top