- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 8,522 for Clauss (0.4 sec)
-
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt
* which collects necessary information for build scan. */ fun <T : AbstractBuildScanInfoCollectingService> Project.registerBuildScanInfoCollectingService( /* the implementation class to collect information from task execution result */ klass: Class<T>, /* which tasks we need to monitor? For example, cache-miss-monitor monitors `AbstractCompile` tasks */ taskFilter: (Task) -> Boolean,
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 03:34:53 GMT 2024 - 3.2K bytes - Viewed (0) -
gorm.go
Context: db.Statement.Context, Clauses: map[string]clause.Clause{}, Vars: make([]interface{}, 0, 8), SkipHooks: db.Statement.SkipHooks, } } else { // with clone statement tx.Statement = db.Statement.clone() tx.Statement.DB = tx } return tx } return db } // Expr returns clause.Expr, which can be used to pass SQL expression as params
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Sun Aug 20 11:46:56 GMT 2023 - 11.6K bytes - Viewed (0) -
clause/where.go
} else { expr.Build(builder) } } } // MergeClause merge where clauses func (where Where) MergeClause(clause *Clause) { if w, ok := clause.Expression.(Where); ok { exprs := make([]Expression, len(w.Exprs)+len(where.Exprs)) copy(exprs, w.Exprs) copy(exprs[len(w.Exprs):], where.Exprs) where.Exprs = exprs } clause.Expression = where } func And(exprs ...Expression) Expression {
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Thu Apr 25 12:22:53 GMT 2024 - 5.1K bytes - Viewed (0) -
clause/set.go
builder.WriteByte('=') builder.WriteQuoted(Column{Name: PrimaryKey}) } } // MergeClause merge assignments clauses func (set Set) MergeClause(clause *Clause) { copiedAssignments := make([]Assignment, len(set)) copy(copiedAssignments, set) clause.Expression = Set(copiedAssignments) } func Assignments(values map[string]interface{}) Set { keys := make([]string, 0, len(values))
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Nov 29 03:02:44 GMT 2021 - 1.4K bytes - Viewed (0) -
statement_test.go
s1.AddClause(clause.Where{ Exprs: s.BuildCondition("FINAL1"), }) s2 := s.clone() s2.AddClause(clause.Where{ Exprs: s.BuildCondition("FINAL2"), }) if reflect.DeepEqual(s1.Clauses["WHERE"], s2.Clauses["WHERE"]) { t.Errorf("Where conditions should be different") } }) } } func TestNilCondition(t *testing.T) { s := new(Statement) if len(s.BuildCondition(nil)) != 0 {
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Sat Dec 23 13:19:41 GMT 2023 - 1.9K bytes - Viewed (0) -
callbacks/update.go
stmt.AddClause(clause.Where{Exprs: []clause.Expression{clause.IN{Column: column, Values: values}}}) } } case reflect.Struct: for _, field := range stmt.Schema.PrimaryFields { if value, isZero := field.ValueOf(stmt.Context, stmt.ReflectValue); !isZero { stmt.AddClause(clause.Where{Exprs: []clause.Expression{clause.Eq{Column: field.DBName, Value: value}}}) } } }
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Mar 18 05:44:55 GMT 2024 - 9.4K bytes - Viewed (1) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
import java.net.http.HttpClient import java.net.http.HttpRequest import java.net.http.HttpResponse data class GitHubPullRequestSearchResult(val items: List<GitHubPullRequest>) data class GitHubUser(val login: String, val name: String?) data class GitHubPullRequestMilestone(val title: String) data class GitHubPullRequest( val number: Int, val user: GitHubUser, val milestone: GitHubPullRequestMilestone?,
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon May 16 05:03:11 GMT 2022 - 5.7K bytes - Viewed (0) -
migrator/migrator.go
createTableSQL += "CONSTRAINT ? UNIQUE (?)," values = append(values, clause.Column{Name: uni.Name}, clause.Expr{SQL: stmt.Quote(uni.Field.DBName)}) } for _, chk := range stmt.Schema.ParseCheckConstraints() { createTableSQL += "CONSTRAINT ? CHECK (?)," values = append(values, clause.Column{Name: chk.Name}, clause.Expr{SQL: chk.Constraint}) }
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Fri Apr 26 07:15:49 GMT 2024 - 29K bytes - Viewed (0) -
callbacks/associations.go
db.AddError(db.Session(&gorm.Session{NewDB: true}).Clauses(clause.OnConflict{DoNothing: true}).Session(&gorm.Session{ SkipHooks: db.Statement.SkipHooks, DisableNestedTransaction: true, }).Create(joins.Interface()).Error) } } } } } func onConflictOption(stmt *gorm.Statement, s *schema.Schema, defaultUpdatingColumns []string) (onConflict clause.OnConflict) {
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Tue Apr 11 03:06:13 GMT 2023 - 14.3K bytes - Viewed (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.modules.model enum class License(val displayName: String) { Apache2("Apache 2.0"), BSD3("3-Clause BSD"), BSDStyle("BSD-style"), CDDL("CDDL"), EDL("Eclipse Distribution License 1.0"), EPL("Eclipse Public License 1.0"), LGPL21("LGPL 2.1"), MIT("MIT")
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Jan 08 10:41:04 GMT 2021 - 922 bytes - Viewed (0)