Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for insertID (0.08 sec)

  1. callbacks/create.go

    		if db.RowsAffected == 0 {
    			return
    		}
    
    		var (
    			pkField     *schema.Field
    			pkFieldName = "@id"
    		)
    
    		insertID, err := result.LastInsertId()
    		insertOk := err == nil && insertID > 0
    
    		if !insertOk {
    			if !supportReturning {
    				db.AddError(err)
    			}
    			return
    		}
    
    		if db.Statement.Schema != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * the queue the shortest time. New elements are inserted at the tail of the queue, and the queue
     * retrieval operations obtain elements at the head of the queue.
     *
     * <p>This is a classic &quot;bounded buffer&quot;, in which a fixed-sized array holds elements
     * inserted by producers and extracted by consumers. Once created, the capacity cannot be increased.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       */
      public MonitorBasedPriorityBlockingQueue(Collection<? extends E> c) {
        q = new PriorityQueue<E>(c);
      }
    
      /**
       * Inserts the specified element into this priority queue.
       *
       * @param e the element to add
       * @return {@code true} (as specified by {@link Collection#add})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/main/config/eclipse/formatter/java.xml

    <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
    <setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
    <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>
    <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Sep 17 06:39:42 UTC 2017
    - 30.5K bytes
    - Viewed (0)
  5. src/config/eclipse/formatter/java.xml

    <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
    <setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
    <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>
    <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Mar 23 21:27:06 UTC 2015
    - 30.5K bytes
    - Viewed (0)
  6. src/config/eclipse/formatter/javascript.xml

    <setting id="org.eclipse.wst.jsdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
    <setting id="org.eclipse.wst.jsdt.core.formatter.blank_lines_between_type_declarations" value="0"/>
    <setting id="org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
    <setting id="org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Mar 23 21:27:06 UTC 2015
    - 29.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            BloomFilter.create(Funnels.integerFunnel(), 15_000_000, 0.01);
    
        // This check has to be BEFORE the loop because the random insertions can
        // flip GOLDEN_PRESENT_KEY to true even if it wasn't explicitly inserted
        // (false positive).
        assertThat(bloomFilter.mightContain(GOLDEN_PRESENT_KEY)).isFalse();
        for (int i = 0; i < NUM_PUTS; i++) {
          bloomFilter.put(getNonGoldenRandomKey());
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. finisher_api.go

    	"gorm.io/gorm/utils"
    )
    
    // Create inserts value, returning the inserted data's primary key in value's id
    func (db *DB) Create(value interface{}) (tx *DB) {
    	if db.CreateBatchSize > 0 {
    		return db.CreateInBatches(value, db.CreateBatchSize)
    	}
    
    	tx = db.getInstance()
    	tx.Statement.Dest = value
    	return tx.callbacks.Create().Execute(tx)
    }
    
    // CreateInBatches inserts value in batches of batchSize
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            urlQueue.setLastModified(0L);
            urlQueue.setDepth(0);
            urlQueue.setMethod(Constants.GET_METHOD);
            insert(urlQueue);
        }
    
        @Override
        public void insert(final OpenSearchUrlQueue urlQueue) {
            try {
                super.insert(urlQueue, urlQueue.getId() == null ? OpType.CREATE : OpType.INDEX);
            } catch (final OpenSearchAccessException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. tests/scanner_valuer_test.go

    	if stmt.SQL.String() == "" || len(stmt.Vars) != 2 {
    		t.Errorf("Failed to generate sql, got %v", stmt.SQL.String())
    	}
    
    	if !regexp.MustCompile(`INSERT INTO .user_with_points. \(.name.,.point.\) VALUES \(.+,ST_PointFromText\(.+\)\)`).MatchString(stmt.SQL.String()) {
    		t.Errorf("insert with sql.Expr, but got %v", stmt.SQL.String())
    	}
    
    	if !reflect.DeepEqual([]interface{}{"jinzhu", "POINT(100 100)"}, stmt.Vars) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top