Commit Graph

43 Commits

Author SHA1 Message Date
Jinzhu bf0fd9bef6 Fix logger check LogLevel 2021-01-06 16:07:19 +08:00
qifengzhang007 6d90d09cb8
Recorder追踪函数trace在finish_api文件358行scan函数所在的371行被调用时,BeginAt 没有赋值,默认值0001-0:0:0导致追踪日志显示的sql耗时无限大. (#3657)
Co-authored-by: 张奇峰 <10515935zwj>
2020-10-22 14:09:09 +08:00
Jinzhu a1ea1713b0 Fix log Stringer 2020-10-19 11:04:18 +08:00
TABRIZ ATAYI d825554307 nil point transfer '<nil>' not transfer NULL #3604 2020-10-18 00:05:43 +02:00
Jinzhu 063b1ca0c4 Refactor SlowSQL log 2020-10-10 10:56:00 +08:00
Jinzhu 9eec6ae066 Fix affected rows for Scan, change affected rows count for row/rows to '-', close #3532 2020-09-27 12:25:38 +08:00
Jinzhu c0de3c5051 Support FullSaveAssociations Mode, close #3487, #3506 2020-09-24 19:29:15 +08:00
caelansar 68920449f9
Fix format sql log (#3492) 2020-09-19 13:48:34 +08:00
Jinzhu 0ec10d4907 Fix format SQL log, close #3465 2020-09-14 12:37:16 +08:00
Jinzhu f6117b7f3d Should not diplay SubQuery SQL log, close #3437 2020-09-09 16:26:16 +08:00
Jinzhu c70c097e88 Refactor format SQL for driver.Valuer 2020-09-08 19:11:29 +08:00
egenchen 6de0356a57
Fix monocolor log output inconsist with colorful log (#3425) 2020-09-08 16:59:47 +08:00
Jinzhu dbaa6b0ec3 Fix Scan struct with primary key, close #3357 2020-09-02 16:14:26 +08:00
aimuz 9a101c8a08
fmt.Sprint() to strconv.Format (#3354) 2020-09-01 21:03:37 +08:00
Qt a140908839
refactor function convertParams's default case (#3208) 2020-07-28 17:25:03 +08:00
Jinzhu 4456df7a5d Lint with golangci-lint 2020-07-16 11:27:12 +08:00
Jinzhu 5790ba9ef4 Fix package path 2020-06-02 09:25:55 +08:00
Jinzhu e986371a42 Rename package name 2020-06-02 09:18:01 +08:00
Jinzhu 4e147e1256 Test SubQuery 2020-06-01 21:26:23 +08:00
Jinzhu ae9e4f1dd8 Fix change log level 2020-05-31 17:49:31 +08:00
Jinzhu 7b6b9c4d22 Add tests for Columns 2020-05-31 00:42:52 +08:00
Jinzhu c291c2f42c Add Scanner, Valuer tests 2020-05-30 21:05:27 +08:00
Jinzhu 6f4602af11 Fix mysql tests 2020-05-29 23:38:03 +08:00
Jinzhu dea48a8c59 Test Many2Many Association 2020-05-26 00:16:44 +08:00
Jinzhu f0a442adff Refactor tests 2020-05-23 23:50:48 +08:00
Jinzhu 8def7be583 Add context to logger 2020-05-05 21:28:38 +08:00
Jinzhu 345ff7577c Save before associations 2020-04-15 23:58:26 +08:00
Jinzhu 477efab8cd Refactor logger 2020-03-14 19:00:41 +08:00
Jinzhu af080e6773 Fix primary key tag 2020-03-12 08:39:42 +08:00
Jinzhu ce0e6f9f33 Add Delete test 2020-03-08 14:51:52 +08:00
Jinzhu 9f7f4b430e Refactor find slice 2020-03-04 22:16:39 +08:00
Jinzhu 9fcc546a69 Fix tests 2020-02-26 19:06:42 +08:00
Jinzhu 04adbaf7f6 Fix parse stmt ReflectValue 2020-02-24 08:51:35 +08:00
Jinzhu 5ccd76f76c Setup Transaction 2020-02-23 23:28:59 +08:00
Jinzhu fa22807e12 Make inesrt into db works 2020-02-23 19:41:29 +08:00
Jinzhu 868ae052a1 Add escape sql params test 2020-02-23 15:16:40 +08:00
Jinzhu 27cb613871 Refactor logger 2020-02-23 15:07:47 +08:00
Jinzhu c3b798aec8 Refactor SQL Explainer 2020-02-23 13:22:08 +08:00
Jinzhu bc5ceff82f Explain SQL for dialects 2020-02-23 12:41:13 +08:00
Jinzhu a4a0895a85 Test parse schema relations 2020-02-01 22:26:17 +08:00
Jinzhu e509b3100d Implement callbacks 2020-01-31 06:35:25 +08:00
Jinzhu 9d5b9834d9 Refactor builder 2020-01-30 19:47:00 +08:00
Jinzhu 8eae7e4ab9 Add migrator 2020-01-28 23:01:35 +08:00