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
Lunny Xiao
d75e4924db
remove some unnecessary debug log and some refactor ( #791 )
2017-12-04 11:00:39 +08:00
Lunny Xiao
b6ba097a50
improve error string & fix #789 ( #790 )
2017-12-02 14:39:56 +08:00
Lunny Xiao
16930c1be7
update READMEs
2017-12-02 10:47:03 +08:00
Lunny Xiao
3bb2fa9c85
add lost Prepare
2017-11-29 10:03:54 +08:00
Lunny Xiao
a6cc098689
QueryString and QueryInterface supports composite conditions ( #784 )
2017-11-20 16:14:27 +08:00
mzmuer
936cca7c69
mysql add column comment ( #783 )
2017-11-20 15:20:28 +08:00
Daniel Lee
84fd68deb7
Postgres dialect parse password with spaces ( #775 ) ( #779 )
...
Fixes #775 This fixes two problems - the postgres dialect can parse a
connection string in url format that has a password with spaces. If an
error occurs the Parse func returns an error instead of panicking.
2017-11-17 23:41:52 +08:00
Lunny Xiao
4e88774eee
update contributing ( #780 )
2017-11-17 21:17:20 +08:00
Lunny Xiao
de4b2f9c8e
Query now could work with Where, In, SQL and other condition methods ( #776 )
2017-11-15 11:34:59 +08:00
ming
a620571388
Add a missing dot ( #767 )
2017-11-01 08:41:20 +08:00
Lunny Xiao
23049ffafa
add PingContext support for go1.8+ ( #766 )
2017-10-31 17:30:01 +08:00
Lunny Xiao
865979f716
add support for map[string]interface{} as condition on Update and Where ( #764 )
2017-10-30 11:07:56 +08:00
Lunny Xiao
43222cbcaf
add tests for json field string ( #756 )
2017-10-24 19:29:08 +08:00
无间落叶
fdbf36d7ea
add string support ( #730 )
2017-10-24 17:51:27 +08:00
Lunny Xiao
165dd989d0
Add tests for afterinsert ( #755 )
...
* add tests for afterinsert
* fix tests
2017-10-24 16:44:00 +08:00
vlorc
fbf62a9711
after call AfterInsert ( #750 )
...
defer handleAfterInsertProcessorFunc(bean)
2017-10-24 16:05:46 +08:00