Commit Graph

52 Commits

Author SHA1 Message Date
BetaCat 18b32486cf remove QuoteStr() usage (#1360) 2019-07-24 09:41:06 +08:00
Lunny Xiao c9b14f9487
move depends package from github.com to customize domain (#1327) 2019-06-17 13:38:13 +08:00
Lunny Xiao fd4a80bcad
fix id condition not used bug (#882) 2018-04-11 11:52:16 +08:00
Lunny Xiao 7dc8e7623c fix time tag utc (#742)
* fix time tag utc

* rename NowTime -> nowTime
2017-09-30 08:59:13 +08:00
Lunny Xiao f1aebd5729 hide all undocument variables on session (#660) 2017-07-27 13:32:35 +08:00
Lunny Xiao d9e6f21d60 fix bugs cols with incr when update (#623) 2017-06-20 15:43:21 +08:00
Lunny Xiao 942887dea0 fix time issues and add some tests for time (#604)
* fix time issues and add some tests for time

* fix tests bug

* fix tests

* some fixes with tests and added mssql support

* fix tests
2017-06-02 16:12:50 +08:00
biless a012756d38 fix pk can't set value when pk is point value or rename (#588)
* fix pk can't set value when pk is point value

* Revert "fix pk can't set value when pk is point value"

This reverts commit e78c076e57.

* fix pk can't set value when pk is point value or rename

* remove trace

* fix insert nil pk in pg
2017-05-18 10:37:20 +08:00
Lunny Xiao 8fd0fd9c7b
refactors 2017-04-12 23:36:46 +08:00
Lunny Xiao 5789833408
first part to resolve #504 2017-03-27 15:45:15 +08:00
Lunny Xiao 1bc93ba022
bug fixed for BeforeSet and AfterSet on Find a Map 2017-02-20 17:51:59 +08:00
Lunny Xiao 664a52a6d7
some gofmt & golint fixed 2017-01-09 09:52:23 +08:00
Sergey f31f552026 Getting flag for the column via helper method (#492) 2016-11-12 11:30:16 +08:00
Sergey Kurt 42d389ec00 Case insensitive string comparison using strings.EqualFold 2016-11-01 14:57:32 +03:00
Lunny Xiao bccd20a7c5 resolved #474 2016-10-23 10:24:29 +08:00
Lunny Xiao e653751f49 resolved #468 2016-10-16 20:53:03 +08:00
Lunny Xiao e2e54d57c9 resolved #292 #91 2016-09-27 11:17:35 +08:00
Lunny Xiao bd994cb726 resolved #209 2016-07-09 13:34:34 +08:00
Lunny Xiao 3d4a143814 bug fixed 2016-06-30 15:45:17 +08:00
Lunny Xiao a01eeeddbc bug fixed 2016-05-08 15:15:39 +08:00
Lunny Xiao 56d649f413 bug fixed for empty struct when update 2016-04-27 11:31:02 +08:00
Lunny Xiao 0f03658955 some comments, refactors improvements 2016-04-07 08:54:02 +08:00
Lunny Xiao 2b34c682f1 added custom int and string type for primary key support 2016-04-06 22:19:38 +08:00
Lunny Xiao b336fa1880 ILogger interface changed and some golint issues resolved, #367 resolved 2016-03-31 18:19:00 +08:00
Lunny Xiao 90c454a96a bug fixed for Sync2 when mysql engine is myisam 2016-01-13 09:58:40 +08:00
Lunny Xiao 8700152b6c resolved #67 2016-01-02 22:58:49 +08:00
Lunny Xiao b36f8ed87e bug fixed for #249 2015-11-26 15:52:25 +08:00
evalphobia b9ba2ed347 Modified time.IsZero() to use interface 2015-11-17 16:19:23 +09:00
evalphobia f7a19aef97 Support float and bool for nullable update 2015-06-12 14:03:11 +09:00
evalphobia 1ebd50ead5 Added feature to update with null for non pointer value 2015-06-10 23:04:14 +09:00
Lunny Xiao a4f9a9f877 bug fixed for #251 2015-06-02 23:05:42 +08:00
Lunny Xiao 8506d65874 bug fixed for custom time 2015-05-26 14:06:54 +08:00
Lunny Xiao 1992491553 license 2015-04-28 16:25:04 +08:00
Shintaro Kaneko 74a9355457 Fix to refer invalid memory access on helpers.go 2015-03-06 12:37:05 +00:00
Lunny Xiao 26932e9b90 bug fixed #84 2015-02-28 17:31:51 +08:00
Lunny Xiao 11d36774e9 bug fixed 2015-02-28 17:03:28 +08:00
Lunny Xiao 8dcef74e9a bug fixed 2015-02-28 16:15:12 +08:00
Lunny Xiao 507ee4df02 resolved #163 2015-02-23 12:24:26 +08:00
Lunny Xiao 5cdb680945 add cascade non-int64 primary key support & bug fixed #178 2015-02-22 23:52:53 +08:00
Nash Tsai edc91fde4c move helper functions to helpers.go 2015-01-29 10:56:20 +08:00
商讯在线 2f4fa912b9 improved 2014-08-30 22:17:59 +08:00
Lunny Xiao 56967f80c8 bug fixed for go1.3beta 2014-05-12 23:27:15 +08:00
Lunny Xiao 5080b2b571 Merge branch 'master' into dev
Conflicts:
	dialects/oracle.go
	dialects/postgres.go
	docs/QuickStart.md
	engine.go
	mysql.go
	session.go
	statement.go
	table.go
	tests/base_test.go
	xorm.go
	xorm/go.go
	xorm/reverse.go
2014-04-11 15:37:27 +08:00
Lunny Xiao 9b23e7d6c0 resolved #89: if struct has func, the struct's name is the result 2014-04-08 16:46:23 +08:00
Lunny Xiao b66e7aa067 use core.DB instead of sql.DB 2014-02-11 14:59:04 +08:00
Lunny Xiao 245d1fafb5 move types to core subdir 2014-02-11 14:16:14 +08:00
Nash Tsai 7bbabe72f0 add Session.row2Bean 2013-12-27 02:14:30 +08:00
Lunny Xiao 59412a951c use tabs 2013-12-18 11:31:32 +08:00
Lunny Xiao c70b4ad8d3 replace tab to 4 spaces for all codes 2013-12-09 10:29:23 +08:00
Lunny Xiao 605ec87f65 improved docs & resolved #
14
2013-11-22 14:11:07 +08:00