Commit Graph

31 Commits

Author SHA1 Message Date
Jinzhu 4eeb839cea Better support Stringer when explain SQL 2022-02-09 15:17:25 +08:00
Jinzhu b23c3b290e Don't query with primary key when using Save 2021-11-08 18:49:59 +08:00
Sungyun Hur a83d25e25e
chore(logger): explicitly set config of Default Logger () 2021-08-11 11:49:46 +08:00
kalle (jag) 25b9f2e26a
Added return names to logger.Interface.Trace () 2021-06-11 21:51:40 +08:00
我的我的 3f359eab9b
slim trace if depth ()
Co-authored-by: gogs <guzzsek@gmail.com>
2021-05-05 08:14:40 +08:00
Jinzhu f3bdfa8261 Add IgnoreRecordNotFoundError option for logger 2021-04-09 10:21:01 +08:00
Jinzhu 7302c8a136 Fix tests and logger 2021-01-10 15:27:53 +08:00
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耗时无限大. ()
Co-authored-by: 张奇峰 <10515935zwj>
2020-10-22 14:09:09 +08: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 2020-09-27 12:25:38 +08:00
Jinzhu c0de3c5051 Support FullSaveAssociations Mode, close , 2020-09-24 19:29:15 +08:00
Jinzhu f6117b7f3d Should not diplay SubQuery SQL log, close 2020-09-09 16:26:16 +08:00
egenchen 6de0356a57
Fix monocolor log output inconsist with colorful log () 2020-09-08 16:59:47 +08:00
Jinzhu 4456df7a5d Lint with golangci-lint 2020-07-16 11:27:12 +08:00
Jinzhu e986371a42 Rename package name 2020-06-02 09:18:01 +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 6f4602af11 Fix mysql tests 2020-05-29 23:38:03 +08:00
Jinzhu 8def7be583 Add context to logger 2020-05-05 21:28:38 +08:00
Jinzhu 477efab8cd Refactor logger 2020-03-14 19:00:41 +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 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 27cb613871 Refactor logger 2020-02-23 15:07:47 +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