Commit Graph

1350 Commits

Author SHA1 Message Date
Lunny Xiao 0f339654dd
fix cols and distinct conflicts (#927) 2018-05-04 13:09:54 +08:00
Lunny Xiao 12e0367559
add more tests for Sync2 (#925) 2018-05-04 10:51:34 +08:00
Lunny Xiao ae0364a057
add more test for join find (#922) 2018-05-02 17:53:17 +08:00
Lunny Xiao a491afac18
fix tablename bug when sync2 (#921) 2018-05-02 16:46:39 +08:00
Lunny Xiao 9680df5445
remove trace code 2018-05-02 13:41:40 +08:00
Lunny Xiao d1e0fe932e
add testing for update via condition bean (#918) 2018-04-29 22:09:22 +08:00
Lunny Xiao 44623fc395
Cache limit test (#917)
* add test for cache with limit

* change the version
2018-04-29 20:36:55 +08:00
Lunny Xiao e3550c7969
fix some bug on extends find (#916) 2018-04-29 19:58:25 +08:00
谷溪 d966376e44 grammar mistakes in output error message (#909)
* grammar mistakes in output error message

`Not found table` => `Table not found`
`Field is not exist` => `Field does not exist`

* Update error.go
2018-04-23 16:57:59 +08:00
Lunny Xiao e5c980f7b6
add test for insert anonymous struct (#904) 2018-04-19 08:25:31 +08:00
Lunny Xiao fc1b13e0d8
v0.6.6 2018-04-13 17:45:25 +08:00
Lunny Xiao 636ccefbc7
fix update map with table name (#888)
* fix update map with table name

* fix bug update map when cache enabled

* refactor cacheInsert

* fix cache test
2018-04-11 23:09:46 +08:00
Lunny Xiao bfdf773629
fix tablename bug (#887)
* fix tablename bug

* fix test
2018-04-11 18:09:16 +08:00
Lunny Xiao 5c2af83817
add test and remove unused warn log (#886) 2018-04-11 15:39:04 +08:00
Lunny Xiao c8ae6fa95b
add test for tablename (#885) 2018-04-11 13:53:09 +08:00
Lunny Xiao 3ef987ad24
add test for update map (#883) 2018-04-11 13:37:05 +08:00
Lunny Xiao 6542364944
refactor buildUpdates (#884) 2018-04-11 12:57:13 +08:00
Lunny Xiao fd4a80bcad
fix id condition not used bug (#882) 2018-04-11 11:52:16 +08:00
Lunny Xiao 590c04df2d
Add test for count with orderby and limit (#880)
* add test for count with orderby and limit

* fix the bug
2018-04-10 12:52:47 +08:00
Lunny Xiao 99ab88dbcf
add test for (id) replace (#879) 2018-04-10 11:28:45 +08:00
Lunny Xiao 0649f6570d
add test for resolve #797 (#878) 2018-04-10 11:27:42 +08:00
Lunny Xiao e98616d656
update README 2018-04-10 10:18:32 +08:00
Lunny Xiao bd20c37bfb
Add SetSchema for engine (#876)
* add SetSchema for engine

* fix user

* fix postgres with schema

* fix test

* fix test

* fix test

* fix tablename

* refactor tableName

* fix schema support

* improve the interface of EngineInterface
2018-04-10 09:50:29 +08:00
Bo-Yi Wu 0b841796fa fix: add const value for public scheam name of postgres. (#877) 2018-04-09 14:57:11 +08:00
Bo-Yi Wu 468154dfd5 chore(postgres): support add schema as prefix of table name (#875)
* chore(postgres): support add schema as prefix of table name

* fix: ignore DefaultPostgresSchema

* docs: [ci skip] add desc for postgres.
2018-04-08 23:49:59 +08:00
Lunny Xiao 9242b921d8
Join add TableName interface support (#874)
* Join add TableName interface support

* add some tests

* Join add struct support

* more tests
2018-04-08 21:54:24 +08:00
Bo-Yi Wu 149e6abf07 fix: gofmt error. (#873) 2018-04-08 08:53:15 +08:00
Lunny Xiao b8dec64610
fix findandcount bug with order (#869) 2018-03-26 10:25:39 +08:00
Lunny Xiao 18b1524be4
add vgo support 2018-03-22 23:26:08 +08:00
m2nlight 11743c1a80 Add NewEngineWithParams method can call SetParams for dialect. The dialect_… (#798)
* Add NewEngine2 method can call SetArguments for dialect. The dialect_mysql support ROW_FORMAT in createtable. (https://github.com/go-xorm/xorm/issues/793)

* Rename NewEngine2 to NewEngineWithParams

* rename SetArguments to SetParams

* rename SetArguments to SetParmas
2018-03-08 09:30:38 +08:00
Lunny Xiao b462eded54
fix sync bug (#857) 2018-03-05 18:01:47 +08:00
Lunny Xiao 60090fa5e0
update README 2018-02-27 11:18:10 +08:00
Lunny Xiao 17ee4be6c1
fix findandcount bug (#853) 2018-02-24 17:08:34 +08:00
Lunny Xiao a4378c8abd
fix bug on findandcount (#852) 2018-02-24 16:12:53 +08:00
Lunny Xiao cea778734c
fix FindAndCount bug with Limit (#851) 2018-02-22 20:24:40 -06:00
Lunny Xiao 2e295feace
Improve schema support on postgres dialect (#845)
* add schema on postgres dialect

* fix to support no specific schema when postgres
2018-02-08 20:43:17 -06:00
Lunny Xiao 430fbe866a
add FindAndCount method (#842) 2018-02-07 07:06:13 -06:00
Lunny Xiao 4293dea67e
add test for find (#841) 2018-02-07 06:00:21 -06:00
Lunny Xiao cd46810bf9
Fix migrate migrationDidRun bug on postgres (#818)
* fix migrate migrationDidRun bug on postgres

* fix missing error handle
2018-01-29 19:49:01 -06:00
Lunny Xiao d4149d1eee
fix Exist bug when using on MSSQL resolved #831 (#832) 2018-01-22 07:32:35 -06:00
Loli caab56ac7e docs(README): fix limit sql (#830) 2018-01-22 05:33:52 -06:00
Lunny Xiao afd1ab91e7
Query add builder support (#829) 2018-01-18 10:09:37 -06:00
Lunny Xiao 5185fdfa1b
add default postgres schema so that it can be changed (#824) 2018-01-09 03:08:26 -06:00
Lunny Xiao 5275c0de3f
add tests for insert custom struct types (#816) 2017-12-27 21:35:52 -06:00
Lunny Xiao 3480244cd2
add test for unique 2017-12-20 16:08:10 +08:00
Lunny Xiao 2bfe0b4d5e
fix Get sql.Nullxx (#805) 2017-12-13 23:04:41 +08:00
Lunny Xiao 26d40bc248
add test for Sync2 2017-12-11 13:49:42 +08:00
Lunny Xiao e0c5a951ff
add tests for SQL with Get variable (#796) 2017-12-07 11:47:45 +08:00
Lunny Xiao 1933dd69e2
update READMEs 2017-12-04 22:05:36 +08:00
Lunny Xiao 4a4bac517d
update README 2017-12-04 21:54:38 +08:00