Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 390 for Omit (0.07 sec)

  1. guava/src/com/google/common/cache/ParametricNullness.java

     *       where the {@code ...} contains the names of all the other {@code ParametricNullness}
     *       annotations in Guava. Or you might prefer to omit Guava from your {@code AnnotatedPackages}
     *       list.
     *   <li><a href="https://developers.google.com/j2objc">J2ObjC</a>
     *   <li>{@code NullPointerTester}, at least in the Android backport (where the type-use annotations
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/response-model.md

    * `tax: float = 10.5` has a default of `10.5`.
    * `tags: List[str] = []` has a default of an empty list: `[]`.
    
    but you might want to omit them from the result if they were not actually stored.
    
    For example, if you have models with many optional attributes in a NoSQL database, but you don't want to send very long JSON responses full of default values.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. tests/update_test.go

    		"Toys":      user2.Toys,
    		"Company":   user2.Company,
    		"Manager":   user2.Manager,
    		"Team":      user2.Team,
    		"Languages": user2.Languages,
    		"Friends":   user2.Friends,
    	}
    
    	DB.Model(&result).Omit("name", "updated_at").Updates(updateValues)
    
    	var result2 User
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  4. helm/minio/templates/deployment.yaml

          runtimeClassName: "{{ .Values.runtimeClassName }}"
          {{- end }}
          {{- if and .Values.securityContext.enabled .Values.persistence.enabled }}
          securityContext:
            {{ omit .Values.securityContext "enabled" | toYaml | nindent 8 }}
          {{- end }}
          {{ if .Values.serviceAccount.create }}
          serviceAccountName: {{ .Values.serviceAccount.name }}
          {{- end }}
          containers:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. chainable_api.go

    			}
    		}
    	default:
    		tx.AddError(fmt.Errorf("unsupported select args %v %v", query, args))
    	}
    
    	return
    }
    
    // Omit specify fields that you want to ignore when creating, updating and querying
    func (db *DB) Omit(columns ...string) (tx *DB) {
    	tx = db.getInstance()
    
    	if len(columns) == 1 && strings.ContainsRune(columns[0], ',') {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. helm/minio/templates/post-job.yaml

          {{- end }}
          {{- with .Values.postJob.tolerations }}
          tolerations: {{- toYaml . | nindent 8 }}
          {{- end }}
          {{- if .Values.postJob.securityContext.enabled }}
          securityContext: {{ omit .Values.postJob.securityContext "enabled" | toYaml | nindent 12 }}
          {{- end }}
          volumes:
            - name: etc-path
              emptyDir: {}
            - name: tmp
              emptyDir: {}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. helm/minio/templates/statefulset.yaml

          runtimeClassName: "{{ .Values.runtimeClassName }}"
          {{- end }}
          {{- if and .Values.securityContext.enabled .Values.persistence.enabled }}
          securityContext:
            {{- omit .Values.securityContext "enabled" | toYaml | nindent 8 }}
          {{- end }}
          {{- if .Values.serviceAccount.create }}
          serviceAccountName: {{ .Values.serviceAccount.name }}
          {{- end }}
          containers:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 11 12:21:05 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-updates.md

    But the example here uses `PATCH` because it was created for these use cases.
    
    ///
    
    /// note
    
    Notice that the input model is still validated.
    
    So, if you want to receive partial updates that can omit all the attributes, you need to have a model with all the attributes marked as optional (with default values or `None`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. tests/associations_has_one_test.go

    	}
    
    	AssertAssociationCount(t, user2, "Account", 0, "after clear")
    }
    
    func TestHasOneAssociationWithSelect(t *testing.T) {
    	user := *GetUser("hasone", Config{Account: true})
    
    	DB.Omit("Account.Number").Create(&user)
    
    	AssertAssociationCount(t, user, "Account", 1, "")
    
    	var account Account
    	DB.Model(&user).Association("Account").Find(&account)
    	if account.Number != "" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

        Adapters.usingTypeHint { typeHint ->
          when (typeHint) {
            // This type is pretty strange. The spec says that for certain algorithms we must encode null
            // when it is present, and for others we must omit it!
            // https://tools.ietf.org/html/rfc4055#section-2.1
            ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION -> Adapters.NULL
            ObjectIdentifiers.RSA_ENCRYPTION -> Adapters.NULL
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top