Jinzhu
|
9bfe306975
|
Only query with readable fields
|
2020-06-27 08:04:12 +08:00 |
Jinzhu
|
cb5a35a807
|
Test group with table name
|
2020-06-26 08:39:18 +08:00 |
Jinzhu
|
4eae3fea41
|
Test group by with multiple columns
|
2020-06-25 23:37:49 +08:00 |
Jinzhu
|
f2b49437fb
|
Test set string field's default value to blank string
|
2020-06-25 22:48:10 +08:00 |
Jinzhu
|
c5feff1591
|
Fix go.mod
|
2020-06-25 08:08:37 +08:00 |
Jinzhu
|
1b28c187c0
|
Fix create with default value
|
2020-06-25 08:00:10 +08:00 |
Jinzhu
|
fb56fe993a
|
Add default value test
|
2020-06-25 06:38:07 +08:00 |
Jinzhu
|
3ec7ed1d51
|
Upgrade default mysql driver
|
2020-06-24 20:19:28 +08:00 |
Jinzhu
|
8ce2dd5548
|
Update test script
|
2020-06-24 19:09:19 +08:00 |
Jinzhu
|
4a01d4c263
|
Create join table with ReorderModels
|
2020-06-24 17:19:11 +08:00 |
Jinzhu
|
67bd842645
|
Update tests all script
|
2020-06-24 14:56:04 +08:00 |
Jinzhu
|
7e1fa4a44d
|
Fix Count after Session
|
2020-06-23 22:41:41 +08:00 |
Jinzhu
|
4201f7bdab
|
Fix create unique index when creating table, close #3081
|
2020-06-23 22:14:41 +08:00 |
Hinagiku Soranoba
|
b733d16f56
|
Create supports Array / ArrayPtr (#3076)
* add Array / ArrayPtr create tests
* support create using array
|
2020-06-23 14:38:36 +08:00 |
Jinzhu
|
e77e7bb842
|
Fix nested embedded field with pointer, close #3071
|
2020-06-23 09:12:57 +08:00 |
Jinzhu
|
d0764bead1
|
Test migrate with comment and check created constraints
|
2020-06-21 13:59:43 +08:00 |
Jinzhu
|
fee1e4aafd
|
Fix create foreign keys for many2many relations
|
2020-06-21 10:48:23 +08:00 |
Jinzhu
|
5883490aa7
|
Select, Omit, Preload supports clause.Associations
|
2020-06-20 17:21:01 +08:00 |
Jinzhu
|
a1e35bdc94
|
Support merge batch data some having primary values
|
2020-06-20 16:52:15 +08:00 |
Jinzhu
|
3d8f6f9cf9
|
Test GroupConditions
|
2020-06-20 01:55:30 +08:00 |
Jinzhu
|
4f19e2a7b3
|
Test ForeignKeyConstraints
|
2020-06-20 01:20:18 +08:00 |
Jinzhu
|
d4d339f3b5
|
Handle data type cases
|
2020-06-19 22:51:46 +08:00 |
Jinzhu
|
e3292b3b41
|
Test with latest driver vesion
|
2020-06-19 18:44:19 +08:00 |
Jinzhu
|
7dc255acfe
|
Add SavePoint/RollbackTo/NestedTransaction
|
2020-06-19 18:30:04 +08:00 |
Jinzhu
|
2c1b04a2cf
|
Fix failed to create second record in same transaction, close #3060
|
2020-06-19 12:38:03 +08:00 |
Jinzhu
|
07960fe661
|
Fix []byte support
|
2020-06-18 11:24:08 +08:00 |
Jinzhu
|
96368eb967
|
Test embedded struct implements Scan & Value interface
|
2020-06-18 09:15:23 +08:00 |
Jinzhu
|
6b2f37189e
|
Fix few cases with postgres
|
2020-06-18 08:40:41 +08:00 |
Jinzhu
|
e487f355a0
|
Add DB method
|
2020-06-17 19:57:54 +08:00 |
maiyama18
|
1bbaa43951
|
fix typos in test method names (#3052)
|
2020-06-14 09:24:07 +08:00 |
Jinzhu
|
1af325ab4f
|
Upgrade sqlserver driver
|
2020-06-10 16:06:54 +08:00 |
Jinzhu
|
45cb6b49bf
|
Add FindInBatches support
|
2020-06-10 15:36:34 +08:00 |
Jinzhu
|
dbc3f8feb0
|
Add count soft deleted record test
|
2020-06-10 13:42:39 +08:00 |
Jinzhu
|
0d58d5a3a7
|
Upsert selected columns
|
2020-06-10 10:48:48 +08:00 |
Jinzhu
|
f3424c6864
|
Support save slice of data
|
2020-06-10 00:02:14 +08:00 |
Jinzhu
|
22ff8377df
|
Fix Pluck with Table only
|
2020-06-09 15:36:10 +08:00 |
Jinzhu
|
649d02fddd
|
Add batch upsert tests
|
2020-06-09 09:04:32 +08:00 |
Jinzhu
|
f0b6bd9ee0
|
Fix typo
|
2020-06-08 23:25:16 +08:00 |
Jinzhu
|
8f8d549ca3
|
Refactor merge where exprs
|
2020-06-08 09:13:34 +08:00 |
Jinzhu
|
e7b2e92ce3
|
Remove RecordNotFound method
|
2020-06-07 22:03:45 +08:00 |
Jinzhu
|
d11c424334
|
Fix typo
|
2020-06-07 15:26:43 +08:00 |
Jinzhu
|
82d55b1054
|
Add OnConflict DoUpdates test
|
2020-06-07 12:50:00 +08:00 |
Jinzhu
|
a954d772d7
|
Support customize gorm field type
|
2020-06-06 10:47:32 +08:00 |
Jinzhu
|
1490a062db
|
Refactor codebase and add benchmark test
|
2020-06-05 23:26:56 +08:00 |
Jinzhu
|
163200d05f
|
Test Hooks
|
2020-06-05 20:24:15 +08:00 |
Jinzhu
|
eda2f023b0
|
Add Distinct support
|
2020-06-05 19:19:12 +08:00 |
Jinzhu
|
d50879cc28
|
Add field permission test
|
2020-06-05 19:18:22 +08:00 |
Jinzhu
|
c8e7878b3e
|
Add PrepareStmt support
|
2020-06-05 11:40:24 +08:00 |
Jinzhu
|
b32658358c
|
Fix can't scan null value into normal data types
|
2020-06-03 09:00:20 +08:00 |
Jinzhu
|
94685d1024
|
Fix can't scan null value into normal data types
|
2020-06-02 23:30:26 +08:00 |
Jinzhu
|
8bb05a5a69
|
Refactor tests files
|
2020-06-02 10:50:38 +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
|
5ecbf25b22
|
Drop table with CASCADE option
|
2020-06-02 07:56:53 +08:00 |
Jinzhu
|
b71171dd92
|
Add more preload tests
|
2020-06-02 01:34:00 +08:00 |
Jinzhu
|
bc01eb28ad
|
Fix tests script
|
2020-06-02 00:24:16 +08:00 |
Jinzhu
|
e490e09db5
|
Add SetupJoinTable support
|
2020-06-01 23:58:22 +08:00 |
Jinzhu
|
db03616993
|
Add customize column test
|
2020-06-01 21:39:08 +08:00 |
Jinzhu
|
4e147e1256
|
Test SubQuery
|
2020-06-01 21:26:23 +08:00 |
Jinzhu
|
1559fe24e5
|
Add more updates test
|
2020-06-01 19:41:33 +08:00 |
Jinzhu
|
dffc2713f0
|
Add mores tests for query
|
2020-06-01 10:54:32 +08:00 |
Jinzhu
|
76b8e78dcb
|
Add multi primary keys test
|
2020-06-01 08:13:16 +08:00 |
Jinzhu
|
a02cb39a45
|
Add more tests
|
2020-06-01 00:36:18 +08:00 |
Jinzhu
|
befef0c9a9
|
Improve Hooks
|
2020-06-01 00:12:20 +08:00 |
Jinzhu
|
95a6539331
|
Test Pluck
|
2020-05-31 21:11:20 +08:00 |
Jinzhu
|
e26abb84b3
|
Test block global update/delete
|
2020-05-31 20:42:07 +08:00 |
Jinzhu
|
5b1d3e4a77
|
Test Joins
|
2020-05-31 20:21:52 +08:00 |
Jinzhu
|
749ca37eb0
|
Add sql builder test
|
2020-05-31 19:23:32 +08:00 |
Jinzhu
|
5457fe88e6
|
Test Transactions
|
2020-05-31 18:51:43 +08:00 |
Jinzhu
|
ae9e4f1dd8
|
Fix change log level
|
2020-05-31 17:49:31 +08:00 |
Jinzhu
|
aa959ec383
|
Test NamedPolymorphic
|
2020-05-31 14:41:45 +08:00 |
Jinzhu
|
6d555ef8d5
|
Test embedded struct
|
2020-05-31 14:18:07 +08:00 |
Jinzhu
|
9d3e929790
|
Test Select, Omit with Create
|
2020-05-31 13:34:53 +08:00 |
Jinzhu
|
1546f8a4a1
|
Test CreateWithNoGORMPrimayKey
|
2020-05-31 12:52:49 +08:00 |
Jinzhu
|
b3b19a5577
|
Test Override NowFunc
|
2020-05-31 11:34:59 +08:00 |
Jinzhu
|
1e7eb12cba
|
Test empty struct
|
2020-05-31 11:19:45 +08:00 |
Jinzhu
|
536e4d34b0
|
Add test for AlterColumn
|
2020-05-31 11:01:06 +08:00 |
Jinzhu
|
d81179557d
|
Add tests for Tables
|
2020-05-31 10:24:49 +08:00 |
Jinzhu
|
24285060d5
|
Fix RenameColumn for mssql, DropColumn for sqlite
|
2020-05-31 09:03:51 +08:00 |
Jinzhu
|
58bc0f51c1
|
Fix mssql rename index, has column
|
2020-05-31 07:57:13 +08:00 |
Jinzhu
|
2b56fa0472
|
Fix Scanner tests on mssql
|
2020-05-31 01:21:16 +08:00 |
Jinzhu
|
7b6b9c4d22
|
Add tests for Columns
|
2020-05-31 00:42:52 +08:00 |
Jinzhu
|
7c0de9199c
|
Test Migrate Indexes
|
2020-05-30 22:43:41 +08:00 |
Jinzhu
|
c291c2f42c
|
Add Scanner, Valuer tests
|
2020-05-30 21:05:27 +08:00 |
Jinzhu
|
c422d75f4b
|
Add Scopes tests
|
2020-05-30 19:43:29 +08:00 |
Jinzhu
|
9dd516a7e8
|
Test UpdateColumn
|
2020-05-30 17:34:22 +08:00 |
Jinzhu
|
028c9d6e17
|
Test Updates
|
2020-05-30 17:01:28 +08:00 |
Jinzhu
|
abae7f71c5
|
Test non std primary key and default value
|
2020-05-30 16:03:27 +08:00 |
Jinzhu
|
d2741ae51e
|
Fix test failed due to time round
|
2020-05-30 14:29:05 +08:00 |
Jinzhu
|
05e1af3bfb
|
Test Upsert
|
2020-05-30 14:28:42 +08:00 |
Jinzhu
|
55074213bc
|
Add SoftDelete support
|
2020-05-29 07:35:45 +08:00 |
Jinzhu
|
dca5244387
|
Add FirstOrCreate support
|
2020-05-28 16:21:10 +08:00 |
Jinzhu
|
ac8708b500
|
Add FirstOrInit support
|
2020-05-28 13:12:56 +08:00 |
Jinzhu
|
5be642a435
|
Add ScanRows support
|
2020-05-26 23:13:05 +08:00 |
Jinzhu
|
51c5be0503
|
Finish Scan support
|
2020-05-26 21:30:17 +08:00 |
Jinzhu
|
c299cb8db6
|
Refactor association
|
2020-05-26 11:19:01 +08:00 |
Jinzhu
|
8de2bb4eab
|
Test single table many2many association
|
2020-05-26 01:57:22 +08:00 |
Jinzhu
|
33a58c548b
|
Test single table has many association
|
2020-05-26 01:43:10 +08:00 |
Jinzhu
|
457f1e5d73
|
Test Many2Many Association for Slice
|
2020-05-26 01:21:15 +08:00 |
Jinzhu
|
dea48a8c59
|
Test Many2Many Association
|
2020-05-26 00:16:44 +08:00 |
Jinzhu
|
cc064f26ee
|
Add on conflict support
|
2020-05-25 23:11:42 +08:00 |
Jinzhu
|
135d9f8b03
|
Test HasMany Association for Slice
|
2020-05-25 11:57:58 +08:00 |
Jinzhu
|
5d9b57cc4e
|
Test HasMany Association
|
2020-05-25 11:11:09 +08:00 |
Jinzhu
|
91eaf0bb21
|
Test HasOne Association for Slice
|
2020-05-24 23:43:42 +08:00 |
Jinzhu
|
6a0ef985ff
|
Test Polymorphic HasOne Association
|
2020-05-24 23:28:06 +08:00 |
Jinzhu
|
68a7a8207a
|
Test HasOne Association
|
2020-05-24 23:07:42 +08:00 |
Jinzhu
|
677c745b62
|
Test shared association
|
2020-05-24 21:46:53 +08:00 |
Jinzhu
|
2db33730b6
|
Add Slice Association for BelongsTo
|
2020-05-24 20:53:20 +08:00 |
Jinzhu
|
91a695893c
|
Test Association For BelongsTo
|
2020-05-24 18:33:15 +08:00 |
Jinzhu
|
cbc4a81140
|
Add Count tests
|
2020-05-24 11:35:19 +08:00 |
Jinzhu
|
1c39ac921b
|
Test preload with conds
|
2020-05-24 01:16:08 +08:00 |
Jinzhu
|
e60a8d54ff
|
Test Nested Preload
|
2020-05-24 00:52:25 +08:00 |
Jinzhu
|
f0a442adff
|
Refactor tests
|
2020-05-23 23:50:48 +08:00 |
Jinzhu
|
590f622674
|
Refactor create tests
|
2020-05-23 22:32:16 +08:00 |
Jinzhu
|
5ec4fee797
|
Don't preload if foreign keys zero
|
2020-05-23 21:09:03 +08:00 |
Jinzhu
|
2ca4e91d88
|
Fix LastInsertID with string primary key
|
2020-05-23 18:38:55 +08:00 |
Jinzhu
|
e64785573d
|
Add helper methods to check user, pet
|
2020-05-23 18:05:26 +08:00 |
Jinzhu
|
bb68f0d6b3
|
Refactor tests
|
2020-05-23 16:08:50 +08:00 |
Jinzhu
|
72460df1bd
|
Fix associations find
|
2020-05-23 11:57:28 +08:00 |
Jinzhu
|
92b812408c
|
Test many2many associations
|
2020-05-14 15:05:04 +08:00 |
Jinzhu
|
42aae57240
|
Test Preload for BelongsTo/HasOne/HasMany
|
2020-05-14 14:41:33 +08:00 |
Jinzhu
|
9dfed613db
|
Test inner joins
|
2020-04-29 23:47:18 +08:00 |
Jinzhu
|
85246682c8
|
Test update associations
|
2020-04-29 22:15:05 +08:00 |
Jinzhu
|
85f3174467
|
Test has many associations
|
2020-04-22 09:38:32 +08:00 |
Jinzhu
|
43a814ae70
|
Add bulk create associations tests
|
2020-04-20 11:47:29 +08:00 |
Jinzhu
|
158bacefbe
|
Add save has many relations
|
2020-04-19 14:29:31 +08:00 |
Jinzhu
|
952df527db
|
Test create polymorphic has one
|
2020-04-17 08:40:11 +08:00 |
Jinzhu
|
fb44625c33
|
Save HasOne association
|
2020-04-17 08:23:47 +08:00 |
Jinzhu
|
345ff7577c
|
Save before associations
|
2020-04-15 23:58:26 +08:00 |
Jinzhu
|
b4b249ddcb
|
Refactor test files
|
2020-04-15 19:13:36 +08:00 |
Jinzhu
|
f7f633590f
|
Fix tests with mysql, postgres
|
2020-03-12 13:05:22 +08:00 |
Jinzhu
|
af080e6773
|
Fix primary key tag
|
2020-03-12 08:39:42 +08:00 |
Jinzhu
|
2a0c3e39f2
|
AddVar accept writer
|
2020-03-09 17:59:54 +08:00 |
Jinzhu
|
504f42760a
|
Refactor clause Writer
|
2020-03-09 17:07:00 +08:00 |
Jinzhu
|
078ba75b9c
|
Add QuoteTo method
|
2020-03-08 23:30:16 +08:00 |
Jinzhu
|
5fce17543a
|
Add Joins
|
2020-03-08 19:12:33 +08:00 |
Jinzhu
|
a158d1ada0
|
Add GroupBy test
|
2020-03-08 18:05:22 +08:00 |
Jinzhu
|
ce0e6f9f33
|
Add Delete test
|
2020-03-08 14:51:52 +08:00 |
Jinzhu
|
2da0ad5bed
|
Add more tests for Update
|
2020-03-08 13:24:08 +08:00 |
Jinzhu
|
cbd55dbcd5
|
Add Update test
|
2020-03-07 15:20:09 +08:00 |
Jinzhu
|
9f7f4b430e
|
Refactor find slice
|
2020-03-04 22:16:39 +08:00 |
Jinzhu
|
b0e1bccf4a
|
Support scan into map, slice, struct
|
2020-03-04 11:33:50 +08:00 |
Jinzhu
|
1403ee70c3
|
Make Query works
|
2020-03-03 14:18:12 +08:00 |
Jinzhu
|
0da8191f60
|
Update test helper
|
2020-03-02 23:43:34 +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
|
fe24c3f105
|
Setup tests script
|
2020-02-23 09:38:51 +08:00 |
Jinzhu
|
d3c63a03cb
|
Handle constraint dependencies smartly
|
2020-02-23 00:18:12 +08:00 |
Jinzhu
|
1895d281bf
|
Add migrator tests for mysql
|
2020-02-22 23:08:20 +08:00 |