Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 36 for assignments (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. clause/set.go

    	}
    	return assignments
    }
    
    func AssignmentColumns(values []string) Set {
    	assignments := make([]Assignment, len(values))
    	for idx, value := range values {
    		assignments[idx] = Assignment{Column: Column{Name: value}, Value: Column{Table: "excluded", Name: value}}
    	}
    	return assignments
    }
    
    // Assignments implements Assigner for a single Assignment.
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Sep 09 01:34:33 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. clause/association.go

    type AssociationAssigner interface {
    	AssociationAssignments() []Association
    }
    
    // Assignments implements the Assigner interface so that AssociationOperation can be used as a Set method parameter
    func (ao Association) Assignments() []Assignment {
    	return []Assignment{}
    }
    
    // AssociationAssignments implements the AssociationAssigner interface
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. generics.go

    func (c createG[T]) Omit(columns ...string) CreateInterface[T] {
    	return createG[T]{c.with(func(db *DB) *DB {
    		return db.Omit(columns...)
    	})}
    }
    
    func (c createG[T]) Set(assignments ...clause.Assigner) SetCreateOrUpdateInterface[T] {
    	return c.processSet(assignments...)
    }
    
    func (c createG[T]) Create(ctx context.Context, r *T) error {
    	return c.g.apply(ctx).Create(r).Error
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 26K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/net/MediaType.java

       * may be necessary in certain situations for compatibility.
       */
      public static final MediaType TEXT_JAVASCRIPT_UTF_8 = createConstantUtf8(TEXT_TYPE, "javascript");
    
      /**
       * <a href="http://www.iana.org/assignments/media-types/text/tab-separated-values">Tab separated
       * values</a>.
       *
       * @since 15.0
       */
      public static final MediaType TSV_UTF_8 = createConstantUtf8(TEXT_TYPE, "tab-separated-values");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

      /**
       * Returns the string used to identify this protocol for ALPN, like "http/1.1", "spdy/3.1" or
       * "h2".
       *
       * See also [IANA tls-extensiontype-values][iana].
       *
       * [iana]: https://www.iana.org/assignments/tls-extensiontype-values
       */
      override fun toString(): String = protocol
    
      companion object {
        /**
         * Returns the protocol identified by `protocol`.
         *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/rpcTest.java

                assertEquals((short) 0, unicodeString.maximum_length);
                assertNull(unicodeString.buffer);
            }
    
            @Test
            @DisplayName("Should handle basic unicode string field assignments")
            void testUnicodeStringBasicFields() {
                // Given: A unicode string
                rpc.unicode_string unicodeString = new rpc.unicode_string();
    
                // When: Setting values
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       * thread.
       */
      private static final class ThreadConfinedTaskQueue {
        /**
         * This field is only used for identity comparisons with the current thread. Field assignments
         * are atomic, but do not provide happens-before ordering; however:
         *
         * <ul>
         *   <li>If this field's value == currentThread, we know that it's up to date, because write
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  8. doc/go_spec.html

    IncDec statement    Assignment
    x++                 x += 1
    x--                 x -= 1
    </pre>
    
    
    <h3 id="Assignment_statements">Assignment statements</h3>
    
    <p>
    An <i>assignment</i> replaces the current value stored in a <a href="#Variables">variable</a>
    with a new value specified by an <a href="#Expressions">expression</a>.
    An assignment statement may assign a single value to a single variable, or multiple values to a
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  9. tests/upsert_test.go

    	}
    
    	lang3 := Language{Code: "upsert", Name: "Upsert"}
    	if err := DB.Clauses(clause.OnConflict{
    		Columns:   []clause.Column{{Name: "code"}},
    		DoUpdates: clause.Assignments(map[string]interface{}{"name": "upsert-new"}),
    	}).Create(&lang3).Error; err != nil {
    		t.Fatalf("failed to upsert, got %v", err)
    	}
    
    	if err := DB.Find(&langs, "code = ?", lang.Code).Error; err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  10. callbacks/create.go

    								if field.AutoUpdateTime > 0 {
    									assignment := clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: curTime}
    									switch field.AutoUpdateTime {
    									case schema.UnixNanosecond:
    										assignment.Value = curTime.UnixNano()
    									case schema.UnixMillisecond:
    										assignment.Value = curTime.UnixMilli()
    									case schema.UnixSecond:
    										assignment.Value = curTime.Unix()
    									}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13K bytes
    - Click Count (0)
Back to Top