Commit Graph

  • 3195ae1207 Allow override alias table in preload conditions v0.2.37 Jinzhu 2020-08-25 18:59:19 +08:00
  • 0f3201e73b friendly invalid field error message Jinzhu 2020-08-25 18:18:16 +08:00
  • 3dfa8a66f1 Fix panic when delet without pointer, close #3308 Jinzhu 2020-08-25 17:27:28 +08:00
  • 84dbb36d3b Add Golang v1.15 Jinzhu 2020-08-24 20:24:25 +08:00
  • ebdb4edda8 Add AllowGlobalUpdate mode Jinzhu 2020-08-23 20:08:23 +08:00
  • cc6a64adfb Support smart migrate, close #3078 v0.2.36 Jinzhu 2020-08-23 15:40:19 +08:00
  • 3a97639880 Fix unordered joins, close #3267 Jinzhu 2020-08-23 10:40:37 +08:00
  • 2b510d6423 Don't create index for join table, close #3294 v0.2.35 Jinzhu 2020-08-21 15:40:50 +08:00
  • f88e8b072c Check valid pointer before use it as Valuer Jinzhu 2020-08-20 18:13:29 +08:00
  • 9a4d56317a Fix URL in README.md adi69 2020-08-20 13:33:50 +05:30
  • 06de6e8834 Test same field name from embedded field, close #3291 Jinzhu 2020-08-20 10:58:35 +08:00
  • 0c9870d1ae Test Association Mode with conditions Jinzhu 2020-08-20 10:39:01 +08:00
  • 528e5ba5c4 Cleanup Model after Count v0.2.34 Jinzhu 2020-08-19 20:30:39 +08:00
  • 3313c11888 Fix embedded struct containing field named ID, close #3286 Jinzhu 2020-08-19 19:02:32 +08:00
  • c1782d60c1 Fix embedded scanner/valuer, close #3283 Jinzhu 2020-08-19 15:47:08 +08:00
  • 3411425d65
    fix return value and delete unused default (#3280) deepoli 2020-08-18 20:03:09 +09:00
  • b5de8aeb42 Fix overrite SELECT clause v0.2.33 Jinzhu 2020-08-18 18:58:53 +08:00
  • 50826742fd Add error gorm.ErrInvalidData v0.2.32 Jinzhu 2020-08-18 18:00:36 +08:00
  • a79673649f fix return value and delete unused default deepoil 2020-08-18 15:49:19 +09:00
  • dc48e04896 Fix nested embedded struct, close #3278 Jinzhu 2020-08-18 11:21:40 +08:00
  • 9fcc337bd1 Fix create from map Jinzhu 2020-08-17 17:41:36 +08:00
  • 681268cc43 Refactor Create/Query/Update/DeleteClauses interface Jinzhu 2020-08-17 16:31:09 +08:00
  • 2a716e04e6 Avoid panic for invalid transaction, close #3271 Jinzhu 2020-08-17 12:16:42 +08:00
  • 6834c25cec Fix stack overflow for embedded self-referred associations, close #3269 Jinzhu 2020-08-17 12:02:41 +08:00
  • 2faff25dfb Fix FirstOr(Init/Create) when assigning with association v0.2.31 Jinzhu 2020-08-13 18:38:39 +08:00
  • 2c4e857125 Should ignore association conditions when querying with struct Jinzhu 2020-08-13 18:09:04 +08:00
  • dea93edb6a Copy TableExpr when clone statement Jinzhu 2020-08-13 16:28:21 +08:00
  • ecc946be6e Test update from sub query Jinzhu 2020-08-13 16:05:06 +08:00
  • 045d5f8538 Fix count with join and no model, close #3255 v0.2.30 Jinzhu 2020-08-13 12:18:36 +08:00
  • ec82da396b Merge branch 'caelansar-scanner-valuer-test' Jinzhu 2020-08-13 12:06:07 +08:00
  • 7d45833f3e Fix driver.Valuer interface returns nil, close #3248 Jinzhu 2020-08-13 12:05:55 +08:00
  • a3dda47afa Don't parse ignored anonymous field Jinzhu 2020-08-11 21:22:51 +08:00
  • 4a9d3a688a Don't parse ignored anonymous field v0.2.29 Jinzhu 2020-08-11 21:22:51 +08:00
  • 15b96ed3f4 add testcase Caelansar 2020-08-10 15:34:20 +08:00
  • a80d4d1083 Fix struct scanner caelansar 2020-08-09 18:04:07 +08:00
  • 2f0cadb4d2 Fix struct scanner caelansar 2020-08-09 18:04:07 +08:00
  • 3613aa4bf6 refactor function CheckTruth 0x2d3c 2020-08-08 18:03:01 +08:00
  • 39c8d6220b Fix soft delete panic when using unaddressable value Jinzhu 2020-08-06 17:48:46 +08:00
  • 3df249c127 Use table expr when inserting table, close #3239 v0.2.28 Jinzhu 2020-08-06 16:25:26 +08:00
  • a1e492244f Use table expr when inserting table Jinzhu 2020-08-06 16:25:26 +08:00
  • da1e54d5ab Add sql-cli Jinzhu 2020-08-06 15:37:36 +08:00
  • f962872b48 Fix labeler Jinzhu 2020-08-05 14:22:35 +08:00
  • ff985b90cc Fix failed to guess relations for embedded types, close #3224 v0.2.27 Jinzhu 2020-08-04 12:10:19 +08:00
  • c11c939b95 callbacks support sort with wildcard Jinzhu 2020-08-03 21:48:36 +08:00
  • f86b5416c4
    fix migrator Daniel Tan 2020-08-03 17:20:19 +08:00
  • f83b00d20d Fix Count with Select when Model not specfied, close #3220 Jinzhu 2020-08-03 10:30:25 +08:00
  • 2676fa4fb8 Remove autoincrement tag for join table, close #3217 Jinzhu 2020-07-31 18:19:25 +08:00
  • dc299b900f Use specified table when preloading data with Join v0.2.26 Jinzhu 2020-07-31 14:47:26 +08:00
  • cf2c573358 Fix LastInsertId is not supported Aleksandar Dimtirov 2020-07-30 13:27:49 +02:00
  • 81c68db87f Fix zero time failed on mysql 8 Jinzhu 2020-07-30 17:56:16 +08:00
  • 07ce8caf7d Remove labeler workflows Jinzhu 2020-07-30 17:42:41 +08:00
  • 7bb883b665
    Auto creating/updating time with unix (milli) second (#3213) lninl 2020-07-30 17:39:57 +08:00
  • 47a5196734 Fix uninitialized Valuer return time.Time, close #3214 Jinzhu 2020-07-30 17:36:39 +08:00
  • c529bf57a4 add test for 'Auto creating/updating time with unix (milli) second' qinains 2020-07-30 17:14:49 +08:00
  • bd1e254bf3 Auto creating/updating time with unix (milli) second qinains 2020-07-30 15:03:09 +08:00
  • 7c2ecdfc1c Fix use pointer of Valuer as foreign key, close #3212 Jinzhu 2020-07-30 10:23:35 +08:00
  • 2cbdd29f26 Returns error for invalid embedded field, close #3209 Jinzhu 2020-07-29 10:23:14 +08:00
  • a140908839
    refactor function convertParams's default case (#3208) Qt 2020-07-28 17:25:03 +08:00
  • 4a34860549 refactor function convertParams's default case 0x2d3c 2020-07-28 17:09:18 +08:00
  • 5e74bdc67a Add json tag to struct Model 15ho 2020-07-28 16:26:23 +08:00
  • c7667e9299 Refactor Prepared Statement v0.2.25 Jinzhu 2020-07-28 14:26:09 +08:00
  • f4cfa9411b
    define err with the same code style (#3199) Qt 2020-07-26 10:03:58 +08:00
  • ea185c6c8a define err with the same code style 0x2d3c 2020-07-26 07:35:03 +08:00
  • 70538bc19c remove go.sum Nick Murray 2020-07-25 23:07:45 +08:00
  • 54585b8941 remove debug code Nick Murray 2020-07-25 22:51:40 +08:00
  • 33f8b60b28 proposal for struct scanning Nick Murray 2020-07-25 22:16:19 +08:00
  • 69d8111893 Fix panic when using invalid data, close #3193 Jinzhu 2020-07-24 08:32:50 +08:00
  • c3f52cee8b Don't scan last insert id 0 Jinzhu 2020-07-23 23:56:13 +08:00
  • 6ed697dd02 TestFirstOrCreateWithPrimaryKey, close #3192 Jinzhu 2020-07-23 23:41:56 +08:00
  • 7021db3655 Fix FieldsWithDefaultDBValue for primary field, close #3187 v0.2.24 Jinzhu 2020-07-22 19:03:19 +08:00
  • 87112ab1c7 Fix row callback name Jinzhu 2020-07-22 15:05:38 +08:00
  • da16f7b475 Create extension uuid-ossp for postgres test database Jinzhu 2020-07-22 12:13:40 +08:00
  • 0546b59743 Fix save many2many associations with UUID primary key, close #3182 Jinzhu 2020-07-22 11:28:00 +08:00
  • 3be836c724 make it optional by giving it a workaround field Steve Fan 2020-07-20 21:26:30 +08:00
  • 13cd287a6f workaround some shitty db that returns capitalized letter for column name Steve Fan 2020-07-20 21:09:46 +08:00
  • ef002fd7ac Add GORMDataType to Field, close #3171 Jinzhu 2020-07-20 18:59:28 +08:00
  • 5d05441067 Test From SubQuery with vars Jinzhu 2020-07-20 08:12:18 +08:00
  • a0477f94dd Allow Omit with Query, close #3165 v0.2.23 Jinzhu 2020-07-19 21:48:58 +08:00
  • 90183fadde Allow advanced table with args Jinzhu 2020-07-19 21:30:24 +08:00
  • de764d9e3d Replace FullTable with TableExpr Jinzhu 2020-07-17 21:19:11 +08:00
  • e77156980c Fix panic when using Select/Omit Associations with no schema, close #3160 Jinzhu 2020-07-17 15:49:41 +08:00
  • 6dc583869b Don't use value's first field to guess data type for struct implements GormDataTypeInterface v0.2.22 Jinzhu 2020-07-17 12:02:00 +08:00
  • 362779575c Fix Select with specific symbol, close #3157 Jinzhu 2020-07-17 11:24:24 +08:00
  • 58e3241544 Fix Select with specific symbol, close #3158 Jinzhu 2020-07-17 11:06:20 +08:00
  • b8692c7671 Allow temporarily disable default transaction v0.2.21 Jinzhu 2020-07-16 18:05:55 +08:00
  • e83e210971 Update postgres DSN Jinzhu 2020-07-16 17:15:57 +08:00
  • 2595402507 Add reviewdog Jinzhu 2020-07-16 13:37:02 +08:00
  • 4456df7a5d Lint with golangci-lint Jinzhu 2020-07-16 11:27:04 +08:00
  • 0028246ea5 Don't set DefaultValueInterface when DefaultValue not set, close #3152 Jinzhu 2020-07-16 10:18:16 +08:00
  • 72a64bef11 Don't merge clause From Jinzhu 2020-07-15 10:25:10 +08:00
  • 1f05cb7e55 Handle Associations with pointer of pointer, close #3130 Jinzhu 2020-07-10 22:53:03 +08:00
  • d4b462a351 Fix alias keyword with Table, close #3104 Jinzhu 2020-07-10 21:11:28 +08:00
  • 33c48611b6 Fix customize table with Delete, close #3129 Jinzhu 2020-07-10 13:08:15 +08:00
  • c0319f6eed Test map with named argument for raw sql Jinzhu 2020-07-10 12:52:01 +08:00
  • bba569af2b Add NamedArg support Jinzhu 2020-07-10 12:28:24 +08:00
  • ff6ba50fc4
    processor.Execute() must use custom table if provided. Andy Truong 2020-07-10 11:10:20 +10:00
  • 3db62520b7
    processor.Execute() must use custom table if provided. Andy Truong 2020-07-10 10:04:35 +10:00
  • bc3728a18f Fix concurrent map writes, close #3126 Jinzhu 2020-07-10 07:14:37 +08:00
  • c091cd6aa4 Update stale action Jinzhu 2020-07-09 22:14:11 +08:00
  • d04984323f Add stale for v1 action Jinzhu 2020-07-09 22:02:29 +08:00