Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for Omit (0.03 sec)

  1. tests/joins_test.go

    	DB.Save(&user)
    
    	results := make([]*User, 0)
    
    	if err := DB.Table("users").Omit("name").Where("users.name = ?", "joins_with_omit").Joins("left join pets on pets.user_id = users.id").Find(&results).Error; err != nil {
    		return
    	}
    
    	if len(results) != 2 || results[0].Name != "" || results[1].Name != "" {
    		t.Errorf("Should find all two pets with Join omit and should not find user's name, got %+v", results)
    		return
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. statement.go

    			columnName := matches[3]
    			if star != "" {
    				return table, star
    			}
    			return table, columnName
    		}
    		return "", ""
    	}
    }()
    
    // SelectAndOmitColumns get select and omit columns, select -> true, omit -> false
    func (stmt *Statement) SelectAndOmitColumns(requireCreate, requireUpdate bool) (map[string]bool, bool) {
    	results := map[string]bool{}
    	notRestricted := false
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.private-javadoc.gradle.kts

    import org.gradle.external.javadoc.StandardJavadocDocletOptions
    
    // Configures javadoc task for java projects, ensuring javadoc is compliant.
    // Javadoc is generated for private classes and methods, and files are allowed to omit javadoc.
    // These requirements are different than those of the public javadoc.
    // This does not configure the public Javadoc published to the website
    
    pluginManager.withPlugin("gradlebuild.code-quality") {
        tasks {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. misc/ios/go_ios_exec.go

    <plist version="1.0">
    <dict>
    	<key>rules</key>
    	<dict>
    		<key>.*</key>
    		<true/>
    		<key>Info.plist</key>
    		<dict>
    			<key>omit</key>
    			<true/>
    			<key>weight</key>
    			<integer>10</integer>
    		</dict>
    		<key>ResourceRules.plist</key>
    		<dict>
    			<key>omit</key>
    			<true/>
    			<key>weight</key>
    			<integer>100</integer>
    		</dict>
    	</dict>
    </dict>
    </plist>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            return buffer.toString();
        }
    
        /**
         * Creates a string with all location details for the specified model problem. If the project identifier is
         * provided, the generated location will omit the model id and source information and only give line/column
         * information for problems originating directly from this POM.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/middleware.md

    * `allowed_hosts` - A list of domain names that should be allowed as hostnames. Wildcard domains such as `*.example.com` are supported for matching subdomains. To allow any hostname either use `allowed_hosts=["*"]` or omit the middleware.
    
    If an incoming request does not validate correctly then a `400` response will be sent.
    
    ## `GZipMiddleware`
    
    Handles GZip responses for any request that includes `"gzip"` in the `Accept-Encoding` header.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:45:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. pyproject.toml

    ]
    
    [tool.coverage.run]
    parallel = true
    data_file = "coverage/.coverage"
    source = [
        "docs_src",
        "tests",
        "fastapi"
    ]
    context = '${CONTEXT}'
    dynamic_context = "test_function"
    omit = [
        "docs_src/response_model/tutorial003_04.py",
        "docs_src/response_model/tutorial003_04_py310.py",
    ]
    
    [tool.coverage.report]
    show_missing = true
    sort = "-Cover"
    
    [tool.coverage.html]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 14:19:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top