MOREL Matthieu
21423b914f
require lint before tests
...
use golangci/golangci-lint-action instead of reviewdog/action-golangci-lint as the second was not reporting any failures even if there was some.
Report code coverage with codecov/codecov-action
I have set some flags per dialect and go version
Several linters has been fixed, some disabled so the build can pass
2021-12-27 09:33:36 +01: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 ( #4605 )
2021-08-11 11:49:46 +08:00
kalle (jag)
25b9f2e26a
Added return names to logger.Interface.Trace ( #4450 )
2021-06-11 21:51:40 +08:00
我的我的
3f359eab9b
slim trace if depth ( #4346 )
...
Co-authored-by: gogs <guzzsek@gmail.com>
2021-05-05 08:14:40 +08:00
Chris Faulkner
15a46bc042
Fix some typos ( #4294 )
2021-04-19 21:03:39 +08:00
Jinzhu
f3bdfa8261
Add IgnoreRecordNotFoundError option for logger
2021-04-09 10:21:01 +08:00
Jinzhu
bb153384d1
Switch driver.Valuer, fmt.Stringer order when format SQL
2021-02-07 11:18:42 +08:00
heige
ef5ef18d4a
recommended to use magic const strings ( #4059 )
2021-02-07 10:09:32 +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耗时无限大. ( #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