xorm/integrations
Lunny Xiao d92fb412ee Make Get and Rows.Scan accept multiple parameters (#2029)
Now the below behaviours are allowed.

```Go
var id int64
var name string
has, err := engine.Table(&user).Cols("id", "name").Get(&id, &name)
// SELECT id, name FROM user LIMIT 1
```

```Go
rows, err := engine.Cols("name", "age").Rows(&User{Name:name})
// SELECT * FROM user
defer rows.Close()
for rows.Next() {
    var name string
    var age int
    err = rows.Scan(&name, &age)
}
```

Reviewed-on: https://gitea.com/xorm/xorm/pulls/2029
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-24 15:42:34 +08:00
..
testdata Fix import file bug (#2025) 2021-08-06 11:26:22 +08:00
cache_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
engine_dm_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
engine_group_test.go Move all integrations tests to a standalone sub package (#1635) 2020-03-27 07:13:04 +00:00
engine_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
main_test.go Move all integrations tests to a standalone sub package (#1635) 2020-03-27 07:13:04 +00:00
performance_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
processors_test.go Move all integrations tests to a standalone sub package (#1635) 2020-03-27 07:13:04 +00:00
rows_test.go Make Get and Rows.Scan accept multiple parameters (#2029) 2021-08-24 15:42:34 +08:00
session_cols_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
session_cond_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
session_count_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
session_delete_test.go Support delete with no bean (#1926) 2021-07-06 17:11:45 +08:00
session_exist_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
session_find_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
session_get_test.go Make Get and Rows.Scan accept multiple parameters (#2029) 2021-08-24 15:42:34 +08:00
session_insert_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
session_iterate_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
session_pk_test.go improve uint tests (#1990) 2021-07-14 17:06:53 +08:00
session_query_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
session_raw_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
session_schema_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
session_sum_test.go Fix findandcount or count with groupby (#1915) 2021-06-06 20:21:39 +08:00
session_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
session_tx_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
session_update_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
tags_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
tests.go Fix comments (#1893) 2021-04-12 09:19:08 +08:00
time_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
types_null_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
types_test.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00