Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 291 for rows (0.17 sec)

  1. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@code Table} whose iteration ordering across row keys is sorted by their
     * natural ordering or by a supplied comparator. Note that iterations across the columns keys for a
     * single row key may or may not be ordered, depending on the implementation. When rows and columns
     * are both sorted, it's easier to use the {@link TreeBasedTable} subclass.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  2. tests/create_test.go

    	if res.Error != nil || res.RowsAffected != 1 {
    		t.Fatalf("first or create rows affect err:%v rows:%d", res.Error, res.RowsAffected)
    	}
    
    	res = DB.FirstOrCreate(&user, "name = ?", user.Name)
    	if res.Error != nil || res.RowsAffected != 0 {
    		t.Fatalf("first or create rows affect err:%v rows:%d", res.Error, res.RowsAffected)
    	}
    }
    
    func TestCreateWithAutoIncrementCompositeKey(t *testing.T) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableTable.java

       * generated by applying the specified functions. If multiple inputs are mapped to the same row
       * and column pair, they will be combined with the specified merging function in encounter order.
       *
       * <p>The returned {@code Collector} will throw a {@code NullPointerException} at collection time
       * if the row, column, value, or merging functions return null on any input.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  4. tests/scan_test.go

    	DB.Save(&user1).Save(&user2).Save(&user3)
    
    	rows, err := DB.Table("users").Where("name = ? or name = ?", user2.Name, user3.Name).Select("name, age").Rows()
    	if err != nil {
    		t.Errorf("Not error should happen, got %v", err)
    	}
    
    	type Result struct {
    		Name string
    		Age  int
    	}
    
    	var results []Result
    	for rows.Next() {
    		var result Result
    		if err := DB.ScanRows(rows, &result); err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat May 28 14:18:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  5. callbacks/delete.go

    				if db.AddError(err) == nil {
    					db.RowsAffected, _ = result.RowsAffected()
    				}
    
    				return
    			}
    
    			if rows, err := db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...); db.AddError(err) == nil {
    				gorm.Scan(rows, db, mode)
    				db.AddError(rows.Close())
    			}
    		}
    	}
    }
    
    func AfterDelete(db *gorm.DB) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Feb 25 02:48:23 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  6. tests/connpool_test.go

    }
    
    func (c *wrapperTx) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) {
    	c.conn.got = append(c.conn.got, query)
    	return c.Tx.QueryContext(ctx, query, args...)
    }
    
    func (c *wrapperTx) QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row {
    	c.conn.got = append(c.conn.got, query)
    	return c.Tx.QueryRowContext(ctx, query, args...)
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Feb 06 02:54:40 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. migrator/migrator.go

    	execErr := m.RunWithValue(value, func(stmt *gorm.Statement) (err error) {
    		rows, err := m.DB.Session(&gorm.Session{}).Table(stmt.Table).Limit(1).Rows()
    		if err != nil {
    			return err
    		}
    
    		defer func() {
    			err = rows.Close()
    		}()
    
    		var rawColumnTypes []*sql.ColumnType
    		rawColumnTypes, err = rows.ColumnTypes()
    		if err != nil {
    			return err
    		}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  8. callbacks/update.go

    			if ok, mode := hasReturning(db, supportReturning); ok {
    				if rows, err := db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...); db.AddError(err) == nil {
    					dest := db.Statement.Dest
    					db.Statement.Dest = db.Statement.ReflectValue.Addr().Interface()
    					gorm.Scan(rows, db, mode)
    					db.Statement.Dest = dest
    					db.AddError(rows.Close())
    				}
    			} else {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 05:44:55 GMT 2024
    - 9.4K bytes
    - Viewed (1)
  9. tests/query_test.go

    	DB.Save(&User{Name: "select_with_variables"})
    
    	rows, _ := DB.Table("users").Where("name = ?", "select_with_variables").Select("? as fake", gorm.Expr("name")).Rows()
    
    	if !rows.Next() {
    		t.Errorf("Should have returned at least one row")
    	} else {
    		columns, _ := rows.Columns()
    		AssertEqual(t, columns, []string{"fake"})
    	}
    
    	rows.Close()
    }
    
    func TestSelectWithArrayInput(t *testing.T) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/boostdoc/admin_boostdoc_edit.jsp

                                                         rows="5"/>
                                        </div>
                                    </div>
                                    <div class="form-group row">
                                        <label for="boostExpr" class="col-sm-3 text-sm-right col-form-label"><la:message
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Wed Feb 12 20:25:27 GMT 2020
    - 5K bytes
    - Viewed (0)
Back to top