- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 83 for assigns (0.05 seconds)
-
finisher_api.go
} // initialize with attrs, conds if len(db.Statement.assigns) > 0 { result.assignInterfacesToValue(db.Statement.assigns...) } return tx.Create(dest) } else if len(db.Statement.assigns) > 0 { exprs := tx.Statement.BuildCondition(db.Statement.assigns[0], db.Statement.assigns[1:]...) assigns := map[string]interface{}{} for i := 0; i < len(exprs); i++ { expr := exprs[i]
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 22.9K bytes - Click Count (0) -
generics.go
} return setCreateOrUpdateG[T]{ c: c, assigns: assigns, assocOps: assocOps, } } // setCreateOrUpdateG[T] is a struct that holds operations to be executed in a batch. // It supports regular assignments and association operations. type setCreateOrUpdateG[T any] struct { c chainG[T] assigns []clause.Assignment assocOps []clause.Association }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 25.9K bytes - Click Count (0) -
tests/generics_test.go
for i, assoc := range associations { assigns := assoc.AssociationAssignments() if len(assigns) != 1 { t.Errorf("Association %d should return one assignment, got %v", i, len(assigns)) } if assigns[0].Association != assoc.Association { t.Errorf("Association %d name should be %s, got %v", i, assoc.Association, assigns[0].Association) } }Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 33.7K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
Let's focus on the parameters declared: * Even though this function is a dependency ("dependable") itself, it also declares another dependency (it "depends" on something else). * It depends on the `query_extractor`, and assigns the value returned by it to the parameter `q`. * It also declares an optional `last_query` cookie, as a `str`. * If the user didn't provide any query `q`, we use the last query used, which we saved to a cookie before.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.7K bytes - Click Count (0) -
chainable_api.go
tx.Statement.attrs = attrs return } // Assign provide attributes used in [FirstOrCreate] or [FirstOrInit] // // Assign adds attributes even if the record is found. If using FirstOrCreate, this means that // records will be updated even if they are found. // // // assign an email regardless of if the record is not found // db.Where(User{Name: "non_existing"}).Assign(User{Email: "******@****.***"}).FirstOrInit(&user)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 14.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
jcifs.netbios.UniAddress serverUniAddress = new jcifs.netbios.UniAddress(serverAddress); // Use default SMB port int port = 445; // Use default local port (0 means system assigns) int localPort = 0; // Get CIFSContext from configuration - this is a simplified approach // In a real implementation, this should be passed from the session context
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 20.5K bytes - Click Count (0) -
statement.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 20.9K bytes - Click Count (0) -
internal/logger/target/http/http.go
stats := types.TargetStats{ TotalMessages: h.totalMessages.Load(), FailedMessages: h.failedMessages.Load(), QueueLength: queueLength, } return stats } // AssignMigrateTarget assigns a target // which will eventually replace the current target. func (h *Target) AssignMigrateTarget(migrateTgt *Target) { h.migrateTarget = migrateTgt } // Init validate and initialize the http targetCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
internal/s3select/sql/value.go
// bytesToString - never fails, but returns empty string if value is not bytes. func (v Value) bytesToString() string { bytes, _ := v.ToBytes() return string(bytes) } // Calculates minimum or maximum of v and a and assigns the result to // v - it works only on numeric arguments, where `v` is already // assumed to be numeric. Attempts conversion to numeric type for `a` // (first int, then float) only if the underlying values do not have a
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 20.4K bytes - Click Count (0) -
doc/go_spec.html
<p> In assignments, each value must be <a href="#Assignability">assignable</a> to the type of the operand to which it is assigned, with the following special cases: </p> <ol> <li> Any typed value may be assigned to the blank identifier. </li> <li> If an untyped constant is assigned to a variable of interface type or the blank identifier,
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1)