Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 293 for assigns (0.22 sec)

  1. 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]
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 19 01:49:06 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  2. 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
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

     *
     * @author Cliff Biffle
     * @since 10.0
     */
    public class AsyncEventBus extends EventBus {
    
      /**
       * Creates a new AsyncEventBus that will use {@code executor} to dispatch events. Assigns {@code
       * identifier} as the bus's name for logging purposes.
       *
       * @param identifier short name for the bus, for logging purposes.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. 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)
    		}
    	}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  5. 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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. prepare_stmt.go

    func NewPreparedStmtDB(connPool ConnPool, maxSize int, ttl time.Duration) *PreparedStmtDB {
    	return &PreparedStmtDB{
    		ConnPool: connPool,                     // Assigns the provided connection pool to manage database connections.
    		Stmts:    stmt_store.New(maxSize, ttl), // Initializes a new statement store with the specified maximum size and TTL.
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

     *
     * @author Sven Mawson
     * @since 10.0 (replacing {@code Futures.makeListenable}, which existed in 1.0)
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class JdkFutureAdapters {
      /**
       * Assigns a thread to the given {@link Future} to provide {@link ListenableFuture} functionality.
       *
       * <p><b>Warning:</b> If the input future does not already implement {@code ListenableFuture}, the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @since 31.1
       */
      public static HashFunction fingerprint2011() {
        return Fingerprint2011.FINGERPRINT_2011;
      }
    
      /**
       * Assigns to {@code hashCode} a "bucket" in the range {@code [0, buckets)}, in a uniform manner
       * that minimizes the need for remapping as {@code buckets} grows. That is, {@code
       * consistentHash(h, n)} equals:
       *
       * <ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle.go

    		}
    	}
    	return false
    }
    
    // ParseLifecycleConfigWithID - parses for a Lifecycle config and assigns
    // unique id to rules with empty ID.
    func ParseLifecycleConfigWithID(r io.Reader) (*Lifecycle, error) {
    	var lc Lifecycle
    	if err := xml.NewDecoder(r).Decode(&lc); err != nil {
    		return nil, err
    	}
    	// assign a unique id for rules with empty ID
    	for i := range lc.Rules {
    		if lc.Rules[i].ID == "" {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 03 06:45:06 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. 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)
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 19 01:49:06 UTC 2025
    - 14.8K bytes
    - Viewed (0)
Back to top