WIP: Add dropTableCols from gitea (dropTableColumns at migrations.go) #1523

Closed
6543 wants to merge 7 commits from DropTableCols_fromGitea into master
Contributor

Add dropTableCols from gitea (dropTableColumns at migrations.go)
open questions:

  • functions added in right place?
  • how to add tiDB and oralce?
Add dropTableCols from gitea (dropTableColumns at migrations.go) open questions: * functions added in right place? * how to add tiDB and oralce?
Author
Contributor

@lunny you may have a look at this?

@lunny you may have a look at this?
lunny added the
kind
feature
label 2020-02-20 01:12:27 +00:00
Owner

@6543 Right, but the CI server has problem.

@6543 Right, but the CI server has problem.
Owner

And it seems your code base is outdate.

And it seems your code base is outdate.
6543 added 112 commits 2020-06-27 14:25:53 +00:00
remove go1.10 test on drone
Some checks reported errors
continuous-integration/drone/push Build encountered an error
e6295a7c61
fix drone lint
Some checks reported errors
continuous-integration/drone/push Build was killed
4b28371f5f
fix vet
All checks were successful
continuous-integration/drone/push Build is passing
20f3d68709
SetExpr support more go types (#1499)
Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499
All checks were successful
continuous-integration/drone/push Build is passing
a18e35f7f5
Exclude schema from index name (#1505)
Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505
All checks were successful
continuous-integration/drone/push Build is passing
c37aff9b3a
fix update map with version (#1448)
fix test

fix update map with version

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Reviewed-on: #1448
All checks were successful
continuous-integration/drone/push Build is passing
bd20ffba3b
fix bug when buffersize with iterate (#941)
Merge branch 'master' into lunny/fix_buffer_iterate

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

fix test

fix bug

fix bug when buffersize with iterate

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Co-authored-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
Reviewed-on: #941
All checks were successful
continuous-integration/drone/push Build is passing
14a0c19a0c
fix statement.LimitN(0) will delete or update all data (#1119)
fix test

fix nil pointer

fix statement.Limit(0) will update or delete all data

fix bug when buffersize with iterate (#941)

Merge branch 'master' into lunny/fix_buffer_iterate

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

fix test

fix bug

fix bug when buffersize with iterate

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Co-authored-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
Reviewed-on: #941

fix update map with version (#1448)

fix test

fix update map with version

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Reviewed-on: #1448

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Improve ci tests (#1477)

Rewrite Engine.QuoteTo() to accept multi-part identifiers (#1476)

Support local sql log (#1338)

Fix go mod and update version (#1460)

Move github.com/go-xorm/xorm to xorm.io/xorm (#1459)

add support custom type Nullfloat64 (#1450)

fix bug when query map condtion with no quote (#1449)

Don't warn when bool column default is 1 but not true (#1447)

* don't warn when bool column default is 1 but not true

* fix default case sensitive

Fix sync2 with custom table name (#1445)

* fix sync2 with custom table name

* fix bug on postgres

* fix bug on postgres

fix bug when update with setexpr (#1446)

add tidb tests on drone ci (#1444)

improve sync2 (#1443)

Fix wrong dbmetas (#1442)

* add tests for db metas

* add more tests

* fix bug on mssql

Fix default value parse bugs (#1437)

* fix default value

* fix default value tags

* fix postgres default

* fix default on postgres

* fix default on postgres

* fix mssql default

fix arg conversion (#1441)

* fix arg conversion

* fix bugs

* fix bug on postgres

* use traditional positional parameters on insert into select

* remove unnecessary tests

upgrade core (#1440)

add tests (#1439)

add go1.13 tests on drone (#1416)

Fix bug on insert where (#1436)

* fix bug on insert where

* fix bug

* fix lint

fix bug when insert multiple slices with customize table name (#1433)

* fix bug when insert multiple slices with customize table name

* fix tests on mssql

* fix tests

fix insert where with bool bug on mssql (#1432)

fix setexpr missing big quotes (#1431)

* fix setexpr missing big quotes

* fix tests

* fix tests

Add support subquery on SetExpr (#1428)

* add support subquery on SetExpr

* fix tests

fix go mod (#1427)

fix tests (#1429)

Use strings.Builder instead of builder.StringBuilder (#1417)

* use strings.Builder instead of builder.StringBuilder

* fix dependency

* fix dependency

Remove unuse get cols code (#1413)

Add mssql ci test (#1410)

* add mssql ci test

* fix drone test

Add insert select where support (#1401)

Use drone new format (#1388)

* use drone new format
fix get customize type bug (#1382)

fix bugs (#1375)

update drone (#1374)

Add tests for get var (#1305)

* add test for SQL get
* fix tests

fix error when get null var (#890)

* fix error when get null var
* add support get for null var
* fix bug

Remove quotestr totally (#1366)

* remove QuoteStr() totally

* update xorm.core -> v0.7.0

* update dialect Quote

remove QuoteStr() usage in dialects (#1364)

document of FindAndCount() (#1365)

remove QuoteStr() usage (#1360)

Co-authored-by: yifhao <yifhao@tencent.com>
Co-authored-by: yifhao <1124210681@qq.com>
Co-authored-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
Co-authored-by: Guillermo Prandi <guillep2k@noreply@gitea.io>
Co-authored-by: yudppp <yu.d.ppp@gmail.com>
Co-authored-by: BetaCat <outman99@hotmail.com>
Reviewed-on: #1119
All checks were successful
continuous-integration/drone/push Build is passing
6dfe337869
Allow update created field if indicated on Cols (#1513)
Allow update created field if indicated on Cols

Reviewed-on: #1513
All checks were successful
continuous-integration/drone/push Build is passing
43b364ccfd
For nullable columns, store nil values as NULL (#531)
Merge branch 'master' into jcsalem/fix/nil_ptr_is_nullable

fix bug when buffersize with iterate (#941)

Merge branch 'master' into lunny/fix_buffer_iterate

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

fix test

fix bug

fix bug when buffersize with iterate

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Co-authored-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
Reviewed-on: #941

fix update map with version (#1448)

fix test

fix update map with version

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Reviewed-on: #1448

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

For nullable columns, store nil values as NULL

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Improve ci tests (#1477)

Rewrite Engine.QuoteTo() to accept multi-part identifiers (#1476)

Support local sql log (#1338)

Fix go mod and update version (#1460)

Move github.com/go-xorm/xorm to xorm.io/xorm (#1459)

add support custom type Nullfloat64 (#1450)

fix bug when query map condtion with no quote (#1449)

Don't warn when bool column default is 1 but not true (#1447)

* don't warn when bool column default is 1 but not true

* fix default case sensitive

Fix sync2 with custom table name (#1445)

* fix sync2 with custom table name

* fix bug on postgres

* fix bug on postgres

fix bug when update with setexpr (#1446)

add tidb tests on drone ci (#1444)

improve sync2 (#1443)

Fix wrong dbmetas (#1442)

* add tests for db metas

* add more tests

* fix bug on mssql

Fix default value parse bugs (#1437)

* fix default value

* fix default value tags

* fix postgres default

* fix default on postgres

* fix default on postgres

* fix mssql default

fix arg conversion (#1441)

* fix arg conversion

* fix bugs

* fix bug on postgres

* use traditional positional parameters on insert into select

* remove unnecessary tests

upgrade core (#1440)

add tests (#1439)

add go1.13 tests on drone (#1416)

Fix bug on insert where (#1436)

* fix bug on insert where

* fix bug

* fix lint

fix bug when insert multiple slices with customize table name (#1433)

* fix bug when insert multiple slices with customize table name

* fix tests on mssql

* fix tests

fix insert where with bool bug on mssql (#1432)

fix setexpr missing big quotes (#1431)

* fix setexpr missing big quotes

* fix tests

* fix tests

Add support subquery on SetExpr (#1428)

* add support subquery on SetExpr

* fix tests

fix go mod (#1427)

fix tests (#1429)

Use strings.Builder instead of builder.StringBuilder (#1417)

* use strings.Builder instead of builder.StringBuilder

* fix dependency

* fix dependency

Remove unuse get cols code (#1413)

Add mssql ci test (#1410)

* add mssql ci test

* fix drone test

Add insert select where support (#1401)

Use drone new format (#1388)

* use drone new format
fix get customize type bug (#1382)

fix bugs (#1375)

update drone (#1374)

Add tests for get var (#1305)

* add test for SQL get
* fix tests

fix error when get null var (#890)

* fix error when get null var
* add support get for null var
* fix bug

Remove quotestr totally (#1366)

* remove QuoteStr() totally

* update xorm.core -> v0.7.0

* update dialect Quote

remove QuoteStr() usage in dialects (#1364)

document of FindAndCount() (#1365)

remove QuoteStr() usage (#1360)

make sure timeout in context timeout t...

Co-authored-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
Co-authored-by: Jim Salem <jim@komand.com>
Co-authored-by: Guillermo Prandi <guillep2k@noreply@gitea.io>
Co-authored-by: yudppp <yu.d.ppp@gmail.com>
Co-authored-by: BetaCat <outman99@hotmail.com>
Reviewed-on: #531
All checks were successful
continuous-integration/drone/push Build is passing
062d9960b2
Fixed Join strings on func Exist (#1520)
fix test

fixed Join strings on func Exist

Co-authored-by: Tomofumi Kusana <tkusana@morisawa.co.jp>
Reviewed-on: #1520
Some checks reported errors
continuous-integration/drone/push Build was killed
e96d53762a
Fix wrong warning log on autoincrement column when sync table (#1525)
improve doc

Fix wrong warning log on autoincrement column when sync table

Reviewed-on: #1525
Some checks reported errors
continuous-integration/drone/push Build encountered an error
a9e2ecbf44
Fix test (#1526)
Fix test

Reviewed-on: #1526
All checks were successful
continuous-integration/drone/push Build is passing
aefe7fd6da
Add tests for table name (#1517)
add tests for table name

Fix test (#1526)

Fix test

Reviewed-on: #1526
Some checks failed
continuous-integration/drone/push Build is failing
189e272774
Add test for second insert error (#1527)
Add test for second insert error

Reviewed-on: #1527
Some checks failed
continuous-integration/drone/push Build is failing
2513e09caa
format time when sqlTypeName is core.Varchar (#1026)
fix time test

add test for time format

sign codes according to contributing rules.

format time when sqlTypeName is core.Varchar. Same with core.DateTime or core.TimeStamp

Add test for second insert error (#1527)

Add test for second insert error

Reviewed-on: #1527

Add tests for table name (#1517)

add tests for table name

Fix test (#1526)

Fix test

Reviewed-on: #1526

Fix test (#1526)

Fix test

Reviewed-on: #1526

Fix wrong warning log on autoincrement column when sync table (#1525)

improve doc

Fix wrong warning log on autoincrement column when sync table

Reviewed-on: #1525

Fixed Join strings on func Exist (#1520)

fix test

fixed Join strings on func Exist

Co-authored-by: Tomofumi Kusana <tkusana@morisawa.co.jp>
Reviewed-on: #1520

For nullable columns, store nil values as NULL (#531)

Merge branch 'master' into jcsalem/fix/nil_ptr_is_nullable

fix bug when buffersize with iterate (#941)

Merge branch 'master' into lunny/fix_buffer_iterate

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

fix test

fix bug

fix bug when buffersize with iterate

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Co-authored-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
Reviewed-on: #941

fix update map with version (#1448)

fix test

fix update map with version

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Reviewed-on: #1448

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

For nullable columns, store nil values as NULL

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Improve ci tests (#1477)

Rewrite Engine.QuoteTo() to accept multi-part identifiers (#1476)

Support local sql log (#1338)

Fix go mod and update version (#1460)

Move github.com/go-xorm/xorm to xorm.io/xorm (#1459)

add support custom type Nullfloat64 (#1450)

fix bug when query map condtion with no quote (#1449)

Don't warn when bool column default is 1 but not true (#1447)

* don't warn when bool column default is 1 but not true

* fix default case sensitive

Fix sync2 with custom table name (#1445)

* fix sync2 with custom table name

* fix bug on postgres

* fix bug on postgres

fix bug when update with setexpr (#1446)

add tidb tests on drone ci (#1444)

improve sync2 (#1443)

Fix wrong dbmetas (#1442)

* add tests for db metas

* add more tests

* fix bug on mssql

Fix default value parse bugs (#1437)

* fix default value

* fix default value tags

* fix postgres default

* fix default on postgres

* fix default on postgres

* fix mssql default

fix arg conversion (#1441)

* fix arg conversion

* fix bugs

* fix bug on postgres

* use traditional positional parameters on insert into select

* remove unnecessary tests

upgrade core (#1440)

add tests (#1439)

add go1.13 tests on drone (#1416)

Fix bug on insert where (#1436)

* fix bug on insert where

* fix bug

* fix lint

fix bug when insert multiple slices with customize table name (#1433)

* fix bug when insert multiple slices with customize table name

* fix tests on mssql

* fix tests

fix insert where with bool bug on mssql (#1432)

fix setexpr missing big quotes (#1431)

* fix setexpr missing big quotes

* fix tests

* fix tests

Add support subquery on SetExpr (#1428)

* add support subquery on SetExpr

* fix tests

fix go mod (#1427)
...

Co-authored-by: DarthPestilane <wangrui.superman@gmail.com>
Co-authored-by: kusana <kusana@noreply.gitea.io>
Co-authored-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
Co-authored-by: Guillermo Prandi <guillep2k@noreply@gitea.io>
Co-authored-by: yudppp <yu.d.ppp@gmail.com>
Reviewed-on: #1026
All checks were successful
continuous-integration/drone/push Build is passing
d874b64b71
Add password for postgres drone image (#1530)
Add password for postgres drone image

Reviewed-on: #1530
All checks were successful
continuous-integration/drone/push Build is passing
bc9947c62b
Add makefile (#1531)
Fix drone

Fix ci

Add deps

Improve drone

Fix envs

Add makefile

Reviewed-on: #1531
All checks were successful
continuous-integration/drone/push Build is passing
22aef2cd32
Add test for join subquery (#1528)
Fix test

Fix subquery with schema

Add test for join subquery

Add makefile (#1531)

Fix drone

Fix ci

Add deps

Improve drone

Fix envs

Add makefile

Reviewed-on: #1531

Add password for postgres drone image (#1530)

Add password for postgres drone image

Reviewed-on: #1530

format time when sqlTypeName is core.Varchar (#1026)

fix time test

add test for time format

sign codes according to contributing rules.

format time when sqlTypeName is core.Varchar. Same with core.DateTime or core.TimeStamp

Add test for second insert error (#1527)

Add test for second insert error

Reviewed-on: #1527

Add tests for table name (#1517)

add tests for table name

Fix test (#1526)

Fix test

Reviewed-on: #1526

Fix test (#1526)

Fix test

Reviewed-on: #1526

Fix wrong warning log on autoincrement column when sync table (#1525)

improve doc

Fix wrong warning log on autoincrement column when sync table

Reviewed-on: #1525

Fixed Join strings on func Exist (#1520)

fix test

fixed Join strings on func Exist

Co-authored-by: Tomofumi Kusana <tkusana@morisawa.co.jp>
Reviewed-on: #1520

For nullable columns, store nil values as NULL (#531)

Merge branch 'master' into jcsalem/fix/nil_ptr_is_nullable

fix bug when buffersize with iterate (#941)

Merge branch 'master' into lunny/fix_buffer_iterate

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

fix test

fix bug

fix bug when buffersize with iterate

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Co-authored-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
Reviewed-on: #941

fix update map with version (#1448)

fix test

fix update map with version

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Reviewed-on: #1448

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

For nullable columns, store nil values as NULL

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Improve ci tests (#1477)

Rewrite Engine.QuoteTo() to accept multi-part identifiers (#1476)

Support local sql log (#1338)

Fix go mod and update version (#1460)

Move github.com/go-xorm/xorm to xorm.io/xorm (#1459)

add support custom type Nullfloat64 (#1450)

fix bug when query map condtion with no quote (#1449)

Don't warn when bool column default is 1 but not true (#1447)

* don't warn when bool column default is 1 but not true

* fix default case sensitive

Fix sync2 with custom table name (#1445)

* fix sync2 with custom table name

* fix bug on postgres

* fix bug on postgres

fix bug when update with setexpr (#1446)

add tidb tests on drone ci (#1444)

improve sync2 (#1443)

Fix wrong dbmetas (#1442)

* add tests for db metas

* add more tests

* fix bug on mssql

Fix default value parse bugs (#1437)

* fix default value

* fix default value tags

* fix postgres default

* fix default on postgres

* fix default on postgres

* fix mssql default

fix arg conversion (#1441)

* fix arg conversion

* fix bugs

* fix bug on postgres

* use traditional positional parameters on insert into select

* remove unnecessary tests

upgrade core (#1440)

add tests (#1439)

add go1.13 tests on drone (#1416)

Fix bug on insert where (#1436)

* fix bug on insert where

* fix bug

* fix lint

fix bug when insert multiple...
Reviewed-on: #1528
All checks were successful
continuous-integration/drone/push Build is passing
9251a5165d
Fix slice of struct not cache bug (#895)
Fix failure caused by nil bean

Judge both type of struct and pointer in case of out-of-range

Fix issue #894

Add test for join subquery (#1528)

Fix test

Fix subquery with schema

Add test for join subquery

Add makefile (#1531)

Fix drone

Fix ci

Add deps

Improve drone

Fix envs

Add makefile

Reviewed-on: #1531

Add password for postgres drone image (#1530)

Add password for postgres drone image

Reviewed-on: #1530

format time when sqlTypeName is core.Varchar (#1026)

fix time test

add test for time format

sign codes according to contributing rules.

format time when sqlTypeName is core.Varchar. Same with core.DateTime or core.TimeStamp

Add test for second insert error (#1527)

Add test for second insert error

Reviewed-on: #1527

Add tests for table name (#1517)

add tests for table name

Fix test (#1526)

Fix test

Reviewed-on: #1526

Fix test (#1526)

Fix test

Reviewed-on: #1526

Fix wrong warning log on autoincrement column when sync table (#1525)

improve doc

Fix wrong warning log on autoincrement column when sync table

Reviewed-on: #1525

Fixed Join strings on func Exist (#1520)

fix test

fixed Join strings on func Exist

Co-authored-by: Tomofumi Kusana <tkusana@morisawa.co.jp>
Reviewed-on: #1520

For nullable columns, store nil values as NULL (#531)

Merge branch 'master' into jcsalem/fix/nil_ptr_is_nullable

fix bug when buffersize with iterate (#941)

Merge branch 'master' into lunny/fix_buffer_iterate

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

fix test

fix bug

fix bug when buffersize with iterate

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Co-authored-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
Reviewed-on: #941

fix update map with version (#1448)

fix test

fix update map with version

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Reviewed-on: #1448

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

For nullable columns, store nil values as NULL

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Improve ci tests (#1477)

Rewrite Engine.QuoteTo() to accept multi-part identifiers (#1476)

Support local sql log (#1338)

Fix go mod and update version (#1460)

Move github.com/go-xorm/xorm to xorm.io/xorm (#1459)

add support custom type Nullfloat64 (#1450)

fix bug when query map condtion with no quote (#1449)

Don't warn when bool column default is 1 but not true (#1447)

* don't warn when bool column default is 1 but not true

* fix default case sensitive

Fix sync2 with custom table name (#1445)

* fix sync2 with custom table name

* fix bug on postgres

* fix bug on postgres

fix bug when update with setexpr (#1446)

add tidb tests on drone ci (#1444)

improve sync2 (#1443)

Fix wrong dbmetas (#1442)

* add tests for db metas

* add more tests

* fix bug on mssql

Fix default value parse bugs (#1437)

* fix default value

* fix default value tags

* fix postgres default

* fix default on postgres

* fix default on postgres

* fix mssql default

fix arg conversion (#1441)

* fix arg conversion

* fix bugs

* fix bug on postgres

* use traditional positional parameters on insert into select

* remove unnecessary tests

upgrade core (#1440)

add tests (#1439)
...

Co-authored-by: shanyy <shanyy163@163.com>
Co-authored-by: kusana <kusana@noreply.gitea.io>
Co-authored-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
Co-authored-by: Guillermo Prandi <guillep2k@noreply@gitea.io>
Co-authored-by: yudppp <yu.d.ppp@gmail.com>
Reviewed-on: #895
All checks were successful
continuous-integration/drone/push Build is passing
ea2dea3897
Improve drone (#1537)
Fix drone

Improve drone

* use traditional positional parameters on inser...
Reviewed-on: #1537
All checks were successful
continuous-integration/drone/push Build is passing
83ec880ee2
Add test for join limit (#1536)
Add test for join limit

Reviewed-on: #1536
All checks were successful
continuous-integration/drone/push Build is passing
bc8bb23ad0
Add test for mysql8.0 (#1538)
Fix pk order on test

Add test for mysql8.0

Reviewed-on: #1538
All checks were successful
continuous-integration/drone/push Build is passing
35b2813796
Fix int time deleted bug (#1539)
Fix panic

Fix test

Fix test for mssql time

Add sql type check on deleted cond

Fix int time deleted bug

Reviewed-on: #1539
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
eabfb48b5d
Merge core package back into the main repository and split into serval sub packages. (#1543)
Fix test

Improve fmt

update go.mod

Move core as a sub package

Reviewed-on: #1543
All checks were successful
continuous-integration/drone/push Build is passing
bf25a77bca
Fix mssql quote (#1535)
Fix some quotes

Fix mssql quote

Merge core package back into the main repository and split into serval sub packages. (#1543)

Fix test

Improve fmt

update go.mod

Move core as a sub package

Reviewed-on: #1543

Fix int time deleted bug (#1539)

Fix panic

Fix test

Fix test for mssql time

Add sql type check on deleted cond

Fix int time deleted bug

Reviewed-on: #1539

Add test for mysql8.0 (#1538)

Fix pk order on test

Add test for mysql8.0

Reviewed-on: #1538

Add test for join limit (#1536)

Add test for join limit

Reviewed-on: #1536

Improve drone (#1537)

Fix drone

Improve drone

* use traditional positional parameters on inser...
Reviewed-on: #1537

Fix slice of struct not cache bug (#895)

Fix failure caused by nil bean

Judge both type of struct and pointer in case of out-of-range

Fix issue #894

Add test for join subquery (#1528)

Fix test

Fix subquery with schema

Add test for join subquery

Add makefile (#1531)

Fix drone

Fix ci

Add deps

Improve drone

Fix envs

Add makefile

Reviewed-on: #1531

Add password for postgres drone image (#1530)

Add password for postgres drone image

Reviewed-on: #1530

format time when sqlTypeName is core.Varchar (#1026)

fix time test

add test for time format

sign codes according to contributing rules.

format time when sqlTypeName is core.Varchar. Same with core.DateTime or core.TimeStamp

Add test for second insert error (#1527)

Add test for second insert error

Reviewed-on: #1527

Add tests for table name (#1517)

add tests for table name

Fix test (#1526)

Fix test

Reviewed-on: #1526

Fix test (#1526)

Fix test

Reviewed-on: #1526

Fix wrong warning log on autoincrement column when sync table (#1525)

improve doc

Fix wrong warning log on autoincrement column when sync table

Reviewed-on: #1525

Fixed Join strings on func Exist (#1520)

fix test

fixed Join strings on func Exist

Co-authored-by: Tomofumi Kusana <tkusana@morisawa.co.jp>
Reviewed-on: #1520

For nullable columns, store nil values as NULL (#531)

Merge branch 'master' into jcsalem/fix/nil_ptr_is_nullable

fix bug when buffersize with iterate (#941)

Merge branch 'master' into lunny/fix_buffer_iterate

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

fix test

fix bug

fix bug when buffersize with iterate

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Co-authored-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
Reviewed-on: #941

fix update map with version (#1448)

fix test

fix update map with version

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Reviewed-on: #1448

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

For nullable columns, store nil values as NULL

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Improve ci tests (#1477)

Rewrite Engine.QuoteTo() to accept multi-part identifiers (#1476)

Support local sql log (#1338)

Fix go mod and update version (#1460)

Move github.com/go-xorm/xorm to xorm.io/xorm (#1459)

add support custom type Nullfloat64 (#1450)

fix bug when query map condtion with no quo...
Reviewed-on: #1535
All checks were successful
continuous-integration/drone/push Build is passing
a90b7a48b4
Move reserve words related files into dialects sub package (#1544)
Move reserve words related files into dialects sub package

Reviewed-on: #1544
All checks were successful
continuous-integration/drone/push Build is passing
3df77142b3
Fix join table name quote bug (#1534)
Fix test

Fix test

Add new Quoter object to handle quote

Fix join table name quote bug

Move reserve words related files into dialects sub package (#1544)

Move reserve words related files into dialects sub package

Reviewed-on: #1544

Fix mssql quote (#1535)

Fix some quotes

Fix mssql quote

Merge core package back into the main repository and split into serval sub packages. (#1543)

Fix test

Improve fmt

update go.mod

Move core as a sub package

Reviewed-on: #1543

Fix int time deleted bug (#1539)

Fix panic

Fix test

Fix test for mssql time

Add sql type check on deleted cond

Fix int time deleted bug

Reviewed-on: #1539

Add test for mysql8.0 (#1538)

Fix pk order on test

Add test for mysql8.0

Reviewed-on: #1538

Add test for join limit (#1536)

Add test for join limit

Reviewed-on: #1536

Improve drone (#1537)

Fix drone

Improve drone

* use traditional positional parameters on inser...
Reviewed-on: #1537

Fix slice of struct not cache bug (#895)

Fix failure caused by nil bean

Judge both type of struct and pointer in case of out-of-range

Fix issue #894

Add test for join subquery (#1528)

Fix test

Fix subquery with schema

Add test for join subquery

Add makefile (#1531)

Fix drone

Fix ci

Add deps

Improve drone

Fix envs

Add makefile

Reviewed-on: #1531

Add password for postgres drone image (#1530)

Add password for postgres drone image

Reviewed-on: #1530

format time when sqlTypeName is core.Varchar (#1026)

fix time test

add test for time format

sign codes according to contributing rules.

format time when sqlTypeName is core.Varchar. Same with core.DateTime or core.TimeStamp

Add test for second insert error (#1527)

Add test for second insert error

Reviewed-on: #1527

Add tests for table name (#1517)

add tests for table name

Fix test (#1526)

Fix test

Reviewed-on: #1526

Fix test (#1526)

Fix test

Reviewed-on: #1526

Fix wrong warning log on autoincrement column when sync table (#1525)

improve doc

Fix wrong warning log on autoincrement column when sync table

Reviewed-on: #1525

Fixed Join strings on func Exist (#1520)

fix test

fixed Join strings on func Exist

Co-authored-by: Tomofumi Kusana <tkusana@morisawa.co.jp>
Reviewed-on: #1520

For nullable columns, store nil values as NULL (#531)

Merge branch 'master' into jcsalem/fix/nil_ptr_is_nullable

fix bug when buffersize with iterate (#941)

Merge branch 'master' into lunny/fix_buffer_iterate

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

fix test

fix bug

fix bug when buffersize with iterate

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Co-authored-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
Reviewed-on: #941

fix update map with version (#1448)

fix test

fix update map with version

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Reviewed-on: #1448

Exclude schema from index name (#1505)

Merge branch 'master' into fix-schema-idx

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

fix vet

fix drone lint

remove go1.10 test on drone

Exclude schema from the index name

Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: #1505

SetExpr support more go types (#1499)

Improve tests

SetExpr support more go types

fix vet

fix drone lint

remove go1.10 test on drone

Reviewed-on: #1499

For nullable columns, store nil values as NULL

fix vet

fix drone lint

remove go1.10 test on drone

Fix update with Alias (#1455)

Improve c...
Reviewed-on: #1534
All checks were successful
continuous-integration/drone/push Build is passing
cc33b2d305
Add leveldb cache store (#1545)
Add leveldb cache store

Reviewed-on: #1545
All checks were successful
continuous-integration/drone/push Build is passing
049a28cfb7
Add changelog file and tool configuration (#1546)
Add changelog file and tool configuration

Reviewed-on: #1546
All checks were successful
continuous-integration/drone/push Build is passing
f3d9c49635
Move zero functions to a standalone package (#1548)
Remove depreciated functions and move some functions to schemas

Move zero functions to a standalone package

Reviewed-on: #1548
All checks were successful
continuous-integration/drone/push Build is passing
390effb8a4
Moved examples out of the main repository (#1550)
Moved examples out of the main repository

Reviewed-on: #1550
All checks were successful
continuous-integration/drone/push Build is passing
757db3b888
Improve statement (#1549)
Fix cache bug

Improve statement

Reviewed-on: #1549
All checks were successful
continuous-integration/drone/push Build is passing
5a5375a170
Improve some codes (#1551)
Improve code

Reviewed-on: #1551
All checks were successful
continuous-integration/drone/push Build is passing
a421331cf9
Move caches to manager (#1553)
Move caches to manager

Reviewed-on: #1553
All checks were successful
continuous-integration/drone/push Build is passing
02c8a4b25d
Improve code (#1552)
Change filters

Fix test

add more tests on drone

add more tests on drone

Improve code

Reviewed-on: #1552
All checks were successful
continuous-integration/drone/push Build is passing
aa522f7d98
Move tag parser related codes as a standalone sub package (#1547)
Fix sliceEq

fix tests

Move tag parser related codes as a standalone sub package

Reviewed-on: #1547
All checks were successful
continuous-integration/drone/push Build is passing
e2f9100419
Improve statement (#1555)
Fix test

Improve statement

Reviewed-on: #1555
All checks were successful
continuous-integration/drone/push Build is passing
7bf9a7a73c
Add context for dialects (#1558)
More improvements

Add context for dialects

Reviewed-on: #1558
All checks were successful
continuous-integration/drone/push Build is passing
4c2b0e0f55
Add minial go version go1.11 check on drone (#1560)
Add minial go version go1.11 check on drone

Reviewed-on: #1560
All checks were successful
continuous-integration/drone/push Build is passing
29c93926a7
Move maptype to tag parser (#1561)
Move maptype to tag parser

Reviewed-on: #1561
All checks were successful
continuous-integration/drone/push Build is passing
f63b42ff9b
Move statement as a sub package (#1564)
Fix test

Fix bug

Move statement as a sub package

Reviewed-on: #1564
All checks were successful
continuous-integration/drone/push Build is passing
2b62dc5a51
Use a new ContextLogger interface to implement logger (#1557)
Fix bug

Add log track on prepare & tx

Some improvements

remove unused codes

refactor logger

Fix bug

log context

add ContextLogger interface

Reviewed-on: #1557
All checks were successful
continuous-integration/drone/push Build is passing
41388c2f56
Fix outdate changelog (#1565)
Fix outdate changelog

Reviewed-on: #1565
All checks were successful
continuous-integration/drone/push Build is passing
c13117f0e6
Fix break session sql enable feature (#1566)
Fix break session sql enable feature

Reviewed-on: #1566
All checks were successful
continuous-integration/drone/push Build is passing
4e59597a49
Add cockroach support and tests (#896)
Fix tests

fix some tests and ignore some

Add &experimental_serial_normalization=sql_sequence on test so that id will increase from 1

fix drone

Fix drone

Fix drone

Fix drone

Remove space

Add makefile

fix drone

fix drone

fix drone

update

fix tests

use sql_sequence when testing

fix postgres ci

fix circle ci for cockroach

upgrade cockroach version

add trace on error

add drone ci

run cockroach background

run cockroach backround

run cockroach backround

fix test

fix run cockroach

add cockroach test to circleci

add cockroach support

Add tests for table name (#1...
Reviewed-on: #896
Some checks reported errors
continuous-integration/drone/push Build was killed
b079bc05ff
Remove circle file (#1569)
Remove circle file

Reviewed-on: #1569
All checks were successful
continuous-integration/drone/push Build is passing
36c62d15f3
fix bug on deleted with join (#1570)
fix bug on deleted with join

Reviewed-on: #1570
All checks were successful
continuous-integration/drone/push Build is passing
6160c8c670
oracle support doulbe quote but not square quote (#1571)
oracle support doulbe quote but not square quote

Reviewed-on: #1571
All checks were successful
continuous-integration/drone/push Build is passing
d1cda3f21b
Improve tests (#1572)
fix test

Improve tests

Reviewed-on: #1572
All checks were successful
continuous-integration/drone/push Build is passing
7278e2ab71
Move some codes to statement sub package (#1574)
revert change for delete

refactor new engine

fix tests

Move some codes to statement sub package

Reviewed-on: #1574
All checks were successful
continuous-integration/drone/push Build is passing
f51d28304a
Improve quote policy (#1567)
names with upper charactor on postgres will need quotes

Fix bug

Add new quote parameter on tests

Fix bug

Fix tests

Fix quotes

fix test

Improve quote policy

Reviewed-on: #1567
All checks were successful
continuous-integration/drone/push Build is passing
7455014823
Fix map with cols (#1575)
Fix cache bug

Fix map with cols

Reviewed-on: #1575
All checks were successful
continuous-integration/drone/push Build is passing
fa219bb836
Fix rows bug (#1576)
Fix rows bug

Reviewed-on: #1576
All checks were successful
continuous-integration/drone/push Build is passing
0f166d82da
Improve dialect interface (#1578)
Improve dialect interface

Reviewed-on: #1578
All checks were successful
continuous-integration/drone/push Build is passing
7f22948be9
Improve dialect interface (#1579)
Fix bug

Improve dialect interface

Reviewed-on: #1579
All checks were successful
continuous-integration/drone/push Build is passing
ccf65397e8
return sqls for create table (#1580)
return sqls for create table

Reviewed-on: #1580
All checks were successful
continuous-integration/drone/push Build is passing
257653726e
Fix find alias bug (#1581)
Code improvement

Fix find alias bug

Reviewed-on: #1581
All checks were successful
continuous-integration/drone/push Build is passing
8b100bb7d4
Improve insert (#1583)
Improve insert

Reviewed-on: #1583
All checks were successful
continuous-integration/drone/push Build is passing
f238bb9d07
Update README (#1582)
Remove version

Update README

Reviewed-on: #1582
All checks were successful
continuous-integration/drone/push Build is passing
00b65c6d99
Only replace quotes when necessary (#1584)
fix test

improve code

improve code

improve code

improve code

Fix replace quote

fix test

Only replace quotes when necessary

Reviewed-on: #1584
Some checks reported errors
continuous-integration/drone/push Build encountered an error
3617ee736f
mysql8.0 中同步数据前,获取数据库结构,因tableRaw为空导致同步失败 (#808)
mysql8.0 中同步数据前,获取数据库结构,因tableRaw为空导致同步失败

Co-authored-by: 崔彦鹏 <mohong122@qq.com>
Reviewed-on: #808
Some checks failed
continuous-integration/drone/push Build is failing
4ef030c9cc
Move value2interface from session to statement package (#1587)
Fix zero

Fix tests

Move value2interface from session to statement package

Reviewed-on: #1587
Some checks failed
continuous-integration/drone/push Build is failing
188da20272
Remove duplicated code (#1588)
Remove duplicated code

Reviewed-on: #1588
All checks were successful
continuous-integration/drone/push Build is passing
67cf42799c
check driver.Valuer response, and skip the column if nil (#1167)
update tests

Reviewed-on: #1167
All checks were successful
continuous-integration/drone/push Build is passing
f13883a725
解决Conversion接口ToDB() ([]byte, error)方法返回*Type值为nil时,数据类型为[]byte(nil)的… (#1296)
add test

解决Conversion接口ToDB() ([]byte, error)方法返回*Type值为nil时,数据类型为[]byte(nil)的bug,解决*Type值为nil时插入数据变为""的bug

Co-authored-by: peihexian <peihexian@qq.com>
Reviewed-on: #1296
Some checks reported errors
continuous-integration/drone/push Build was killed
36e26e35ed
Fix mssql issue with duplicate columns. (#1225)
fix test

fix test

Fix mssql issue with duplicate columns.

The `GetColumns()` method for the mssql dialect can return the same
column multiple times if the column is in multiple indexes.

Co-authored-by: Robert G. Jakabosky <bobby@sharedrealm.com>
Reviewed-on: #1225
All checks were successful
continuous-integration/drone/push Build is passing
9d4594632f
jerry:add postgre data_type array (#1589)
fix err,add postgres column ARRAY

fix err,add postgres column ARRAY

Co-authored-by: Jerry <85411418@qq.com>
Reviewed-on: #1589
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
All checks were successful
continuous-integration/drone/push Build is passing
2f95c750c3
Fix table name (#1590)
add test

Fix table name

Reviewed-on: #1590
Some checks failed
continuous-integration/drone/push Build is failing
6485adb722
Ignore schema when dbtype is not postgres (#1593)
Ignore schema when dbtype is not postgres

Reviewed-on: #1593
All checks were successful
continuous-integration/drone/push Build is passing
537d82a6f7
Support count with cols (#1595)
Support count with cols

Reviewed-on: #1595
All checks were successful
continuous-integration/drone/push Build is passing
94fd254638
Fix bug when dump (#1597)
Fix bug when dump

Reviewed-on: #1597
All checks were successful
continuous-integration/drone/push Build is passing
367b15879e
fix batch insert interface slice be panic (#1598)
fix batch insert []interface{*struct, ...} be panic;add TestInsertMulti2Interface testcase

Co-authored-by: baijinping <baikkp@126.com>
Reviewed-on: #1598
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
All checks were successful
continuous-integration/drone/push Build is passing
c2bf301bdb
Fix master/slave bug (#1601)
fix test

Fix master/slave bug

Reviewed-on: #1601
All checks were successful
continuous-integration/drone/push Build is passing
c56c8e122a
Fix pk bug (#1602)
Fix pk bug

Reviewed-on: #1602
All checks were successful
continuous-integration/drone/push Build is passing
9500b23395
Fix dump/import bug (#1603)
Fix bug

Fix mssql

Fix postgres

Fix import test

Fix dump/import bug

Reviewed-on: #1603
All checks were successful
continuous-integration/drone/push Build is passing
b7b2b21a40
Fix setschema (#1606)
Fix schema

Fix setschema

Reviewed-on: #1606
All checks were successful
continuous-integration/drone/push Build is passing
a7a1dc5c42
Fix dump bug (#1613)
Fix dump

Fix dump bug

Reviewed-on: #1613
All checks were successful
continuous-integration/drone/push Build is passing
af30c17b0d
Add changelog for v1.0.0 (#1614)
Add changelog for v1.0.0

Reviewed-on: #1614
All checks were successful
continuous-integration/drone/push Build is passing
5575e839df
Oracle : Local Naming Method (#1515)
go mod tidy

stop using xorm.io/core

Merge branch 'master' into fix-oracle-db

revert a goracle parser function

add TestParseOracleConnStr

Oracle : Local Naming Method

Co-authored-by: Tomoya AMACHI <tomoya.amachi@gmail.com>
Reviewed-on: #1515
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Some checks failed
continuous-integration/drone/push Build is failing
2ece3bacbb
Fix find and count bug (#1618)
Fix find and count bug

Reviewed-on: #1618
Some checks failed
continuous-integration/drone/push Build is failing
3bddd228e7
Fix find and count bug (#1622)
Fix find and count bug

Reviewed-on: #1622
All checks were successful
continuous-integration/drone/push Build is passing
656cf6e5d6
Fix duplicated deleted condition on FindAndCount (#1619)
Fix duplicated deleted condition on FindAndCount

Reviewed-on: #1619
All checks were successful
continuous-integration/drone/push Build is passing
79cdec7d88
Don't keep db on dialects (#1623)
don't keep db on dialects

Reviewed-on: #1623
All checks were successful
continuous-integration/drone/push Build is passing
5053c35701
Add more tests for FindAndCount (#1621)
Add more tests for FindAndCount

Reviewed-on: #1621
All checks were successful
continuous-integration/drone/push Build is passing
9dca7f0703
Fix dump test (#1625)
Fix dump test

Reviewed-on: #1625
Some checks failed
continuous-integration/drone/push Build is failing
6132eea08c
Fix postgres schema problem (#1624)
Fix postgres

Add DefaultPostgresSchema back

force push

Fix postgres schema problem

Reviewed-on: #1624
All checks were successful
continuous-integration/drone/push Build is passing
0a3685be83
Fix quote with blank (#1626)
Fix quote with blank

Reviewed-on: #1626
All checks were successful
continuous-integration/drone/push Build is passing
34f5bc3465
Add changelog for v1.0.1 (#1629)
Add changelog for v1.0.1

Reviewed-on: #1629
All checks were successful
continuous-integration/drone/push Build is passing
3e4dc66c58
Fix lint errors (#1631)
Fix lint errors

Reviewed-on: #1631
Some checks failed
continuous-integration/drone/push Build is failing
fb8eb29d1e
Move column string to standalone method (#1633)
Move column string to standalone method

Reviewed-on: #1633
All checks were successful
continuous-integration/drone/push Build is passing
6254e7899f
Support session id (#1632)
small nit

Support session id

Reviewed-on: #1632
Some checks failed
continuous-integration/drone/push Build is failing
b78418daa5
Improve codes (#1630)
Improve codes

Reviewed-on: #1630
All checks were successful
continuous-integration/drone/push Build is passing
78bb4c711d
Improve insert map generating SQL (#1634)
Fix writeArg

Improve insert map generating SQL

Reviewed-on: #1634
All checks were successful
continuous-integration/drone/push Build is passing
2ac051f075
Move all integrations tests to a standalone sub package (#1635)
Fix vet

Remove unused files

Move all integrations tests to a standalone sub package

Reviewed-on: #1635
All checks were successful
continuous-integration/drone/push Build is passing
79bdda3cf1
Move processor function into one file (#1637)
Move processor function into one file

Reviewed-on: #1637
All checks were successful
continuous-integration/drone/push Build is passing
0a06dc204a
update discuss forum new address (#1638)
update discuss forum new address

Reviewed-on: #1638
All checks were successful
continuous-integration/drone/push Build is passing
5d90695511
fix misspelled words (#1642)
fix misspelled words

Co-authored-by: yuxiao.lu <yuxiao.lu@liulishuo.com>
Reviewed-on: #1642
All checks were successful
continuous-integration/drone/push Build is passing
410c2de923
fix bug for mis-converting uint64 to int64 (#1647)
fix bug for mis-converting uint64 to int64

Co-authored-by: rosbit <me@rosbit.cn>
Reviewed-on: #1647
Some checks failed
continuous-integration/drone/push Build is failing
7e981f5f5e
fix context not deliver in QueryStructContext (#1645)
fix context not deliver in QueryStructContext

Co-authored-by: yuxiao.lu <yuxiao.lu@liulishuo.com>
Reviewed-on: #1645
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
All checks were successful
continuous-integration/drone/push Build is passing
cfa88b908c
Add Hook (#1644)
move hook to standalone package

add hook for engine

Co-authored-by: yuxiao.lu <yuxiao.lu@liulishuo.com>
Reviewed-on: #1644
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
All checks were successful
continuous-integration/drone/push Build is passing
34dc7f8791
fix GetColumns missing ordinal position (#1660)
fix GetColumns missing  ordinal position

Co-authored-by: zhubo <816078@qq.com>
Reviewed-on: #1660
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
3bb787a2f7
Fix find with another struct (#1666)
Fix find with another struct

Reviewed-on: #1666
All checks were successful
continuous-integration/drone/push Build is passing
8ebcb8b557
Oracle uses double quotes for quoting table/column/etc. names (#1674)
Oracle uses doulbe quotes for quoting table/column/etc. names

Reviewed-on: #1674
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
All checks were successful
continuous-integration/drone/push Build is passing
55594d1dbe
chore: improve snakeCasedName performance (#1688)
chore: update

chore: udpate

chore: improve snakeCasedName performance

Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Reviewed-on: #1688
Reviewed-by: appleboy <appleboy.tw@gmail.com>
All checks were successful
continuous-integration/drone/push Build is passing
d485101331
chore: improve titleCasedName performance (#1691)
udpate

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

chore: improve titleCasedName performance

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Reviewed-on: #1691
Some checks failed
continuous-integration/drone/push Build is failing
f071e5eb96
Fix bug when ID used but no reference table given (#1709)
Fix bug when ID used but no reference table given

Reviewed-on: #1709
All checks were successful
continuous-integration/drone/push Build is passing
b08f962d7a
Fix find and count bug (#1651)
Fix bug

fix mssql findandcount

Fix find and count bug

Reviewed-on: #1651
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
4dde8f14e6
Update README badges
Some checks failed
continuous-integration/drone/push Build is failing
08a18027a0
Add missing changelog for 1.0.2 (#1712)
Add missing changelog for 1.0.2

Reviewed-on: #1712
All checks were successful
continuous-integration/drone/push Build is passing
b434b045ad
Upgrade some dependencies (#1718)
Upgrade some dependencies

Reviewed-on: #1718
All checks were successful
continuous-integration/drone/push Build is passing
cc7d219065
Merge branch 'master' into DropTableCols_fromGitea
Some checks failed
continuous-integration/drone/pr Build is failing
a5c3ebf418
6543 added 1 commit 2020-06-27 14:26:38 +00:00
fmt
Some checks failed
continuous-integration/drone/pr Build is failing
e5ff26e652
6543 added 2 commits 2020-06-27 21:11:45 +00:00
adjust to new xorm structures
Some checks failed
continuous-integration/drone/pr Build is failing
55afb620e8
6543 added 1 commit 2020-06-27 21:31:26 +00:00
smal nits
Some checks failed
continuous-integration/drone/pr Build is failing
0f8d350393
Owner

It's dangerous to drop column for sqlite so I will not merge this if that cannot be changed.

It's dangerous to drop column for sqlite so I will not merge this if that cannot be changed.
Author
Contributor

Didn't had time to ajust it yet ...

Didn't had time to ajust it yet ...
Owner

outdated.

outdated.
lunny closed this pull request 2023-07-22 15:08:43 +00:00
Some checks failed
continuous-integration/drone/pr Build is failing

Pull request closed

Sign in to join this conversation.
No description provided.