Commit Graph

  • 495ec4bd87
    invalid db error and value and invalid value length error (#4151) heige 2021-03-07 10:56:32 +0800
  • a948c84607 Revert "Revert "Don't override the from clauses, close #4129" close #4139" Jinzhu 2021-03-05 22:18:12 +0800
  • d6c23586ae Revert "Don't override the from clauses, close #4129" close #4139 Jinzhu 2021-03-05 19:42:54 +0800
  • 294625759c Fix after initialize db callback v1.21.2 Jinzhu 2021-03-05 14:12:55 +0800
  • 1476b2f7d4 Fix apply config v1.21.1 Jinzhu 2021-03-04 20:37:39 +0800
  • adf85d5b82
    change the method of initializing slice (#4097) Sivchari 2021-03-04 20:44:15 +0900
  • 664755270d Don't override the from clauses, close #4129 v1.21.0 Jinzhu 2021-03-04 19:16:08 +0800
  • 90476fea7a Fix Join with slice IN, close #4133 Jinzhu 2021-03-04 18:40:47 +0800
  • 42999e9809 Fix overwrite preloading associations, close #4134 Jinzhu 2021-03-04 18:28:32 +0800
  • 0157099576 Use functional options Jinzhu 2021-03-04 17:14:08 +0800
  • 3694ef4a2c Fix get current table Jinzhu 2021-02-26 17:30:00 +0800
  • eb9a704fda Fix update UpdatedAt when full saving associations, close #4115 Jinzhu 2021-02-26 17:11:25 +0800
  • 189547f615 Fix new session with Begin, close #4120 Jinzhu 2021-02-26 16:43:43 +0800
  • ddeb143eb9 Lazy call registered scopes Jinzhu 2021-02-25 22:01:59 +0800
  • 6b7d18656d Lazy call registered scopes Jinzhu 2021-02-25 20:06:26 +0800
  • 828e6b646b Lazy call registered scopes Jinzhu 2021-02-25 18:49:01 +0800
  • 940da051a7 Skip nested associations when create data with Select, close #4108 Jinzhu 2021-02-23 19:35:20 +0800
  • 79225bfe48 Fix Omit/Select without Model value, close #4098 Jinzhu 2021-02-18 10:53:29 +0800
  • 73d44a4f97 Fix create duplicated constraint, close #4090 Jinzhu 2021-02-16 08:39:04 +0800
  • 92a2389450 Fix create duplicated constraint, close #4090 Jinzhu 2021-02-16 08:35:19 +0800
  • 628a0ae707 Fix foreign key & reference with same name, close #4081 Jinzhu 2021-02-15 09:10:51 +0800
  • 5744e29fbd
    Replacer interface for more flexible NamingStrategy (#4042) Joel Nordell 2021-02-13 18:16:24 -0600
  • a13b7a6acb Fix OnConflict where order for postgres, close #4073 Jinzhu 2021-02-10 14:11:29 +0800
  • 84ea3ec0cc Fix sub query argument order with multiple raw SQL Jinzhu 2021-02-09 18:56:13 +0800
  • df24821896 Fix SubQuery for raw sql Jinzhu 2021-02-09 17:05:50 +0800
  • 2ba612e805
    Add field tag to ignore migration (#4028) yrong1997 2021-02-09 16:03:02 +0800
  • 883c32e59a Support Unscoped when delete with selected associations, close #4062 Jinzhu 2021-02-07 14:36:27 +0800
  • deff0594ee Save associations based on creatable/updatable permission, close #4056 Jinzhu 2021-02-07 14:24:11 +0800
  • 4373aa01ab Don't call AfterFind hooks if no record found, close #4048 Jinzhu 2021-02-07 12:44:59 +0800
  • bb153384d1 Switch driver.Valuer, fmt.Stringer order when format SQL Jinzhu 2021-02-07 11:18:09 +0800
  • e80853e7f5
    optimization check for ParseCheckConstraints (#4063) heige 2021-02-07 10:12:13 +0800
  • ef5ef18d4a
    recommended to use magic const strings (#4059) heige 2021-02-07 10:09:32 +0800
  • 3d3208ed60 initialize config plugins Jinzhu 2021-02-03 16:27:49 +0800
  • 8f37cb0195 Make has to be a const, close #4024 Jinzhu 2021-02-01 10:42:13 +0800
  • db0cc4d60b Fix too long foreign key/checker names, close #4026 Jinzhu 2021-02-01 10:37:12 +0800
  • 7598204dc3 Support `FullSaveAssociations` for association mode, close #4010 Jinzhu 2021-01-29 16:40:07 +0800
  • 6e3ac74b7e Fix preloading all associations together with nested associations, close #4016 Jinzhu 2021-01-28 20:17:19 +0800
  • 4267df02af
    Fix typo in README (#4012) David Harkness 2021-01-27 18:21:58 -0800
  • 8500380e60 Add name checker test, close #4007 Jinzhu 2021-01-27 17:45:48 +0800
  • cc61202fe2
    retrieving gorm object support pointer (#4006) Ben 2021-01-27 11:50:15 +0800
  • 81aa949105 Remove the uncessary reflect.Ptr Jinzhu 2021-01-27 11:24:34 +0800
  • ba59065024 retrieving gorm object support pointer rorschach 2021-01-26 20:08:41 +0800
  • f6308ed223
    refactor: fix typo in tests.yml (#4005) Manyanda Chitimbo 2021-01-27 04:18:39 +0100
  • 7f198ead0e Refactor nested preloading associations, close #3970 v1.20.12 Jinzhu 2021-01-26 16:33:19 +0800
  • 08678106a4 Support replace associations without the creation in association mode, close #3937 Jinzhu 2021-01-26 14:34:21 +0800
  • 916338a9e1 Test migrate constraints, close #3986 Jinzhu 2021-01-26 13:39:34 +0800
  • 59c01b7943 Make migrator works with dbresolver, close #3992 Jinzhu 2021-01-25 10:30:57 +0800
  • f8bd4c4875 Don't create index if there are error exist, close #3976 Jinzhu 2021-01-24 10:23:04 +0800
  • 35ebfe6874 Support group conditions with single OR condition Jinzhu 2021-01-20 18:24:05 +0800
  • 9790103e68 Fix Where with empty struct, close #3966 Jinzhu 2021-01-19 16:37:49 +0800
  • 6095dbf939 Fix parse embedded relations, close #3964, #3965 Jinzhu 2021-01-19 15:40:04 +0800
  • 3d87575e7e make Count compatible with Select with Count func, close #3962 Jinzhu 2021-01-18 19:43:04 +0800
  • 4a15540504 SkipDefaultTransaction skip CreateInBatches transaction Jinzhu 2021-01-18 11:43:42 +0800
  • 59fa07953c Preload with settings, close #3945 Jinzhu 2021-01-15 17:15:59 +0800
  • 79628be2c2 Fix wrong RowsAffected if not data found Jinzhu 2021-01-14 16:01:23 +0800
  • ce610a9560
    title case schema name (#3940) Lisa Casner 2021-01-12 21:05:05 -0800
  • de850edb4f Fix Change UpdatedAt to current time when doing OnConflict UpdateAll Jinzhu 2021-01-11 19:16:47 +0800
  • b864a5457a Allow foreign key following the default naming conventions, close #3928 v1.20.11 Jinzhu 2021-01-10 17:32:17 +0800
  • fe553a7c1a Fix prepared statement in transaction mode can't be shared in normal operations, close #3927 Jinzhu 2021-01-10 16:46:06 +0800
  • 7302c8a136 Fix tests and logger Jinzhu 2021-01-10 15:27:53 +0800
  • 7ebb320f3e Allow customize join table's table in callback Jinzhu 2021-01-10 14:58:54 +0800
  • f9131e309d
    reduce DB's Use method complexity and make it easier to understand (#3930) Qt 2021-01-10 10:15:48 +0800
  • d888c799d7 Change UpdatedAt to current time when doing OnConflict UpdateAll v1.20.10 Jinzhu 2021-01-08 18:47:06 +0800
  • a5bfe2f39d Keep Error for new Session Jinzhu 2021-01-07 11:45:40 +0800
  • bf0fd9bef6 Fix logger check LogLevel Jinzhu 2021-01-06 16:07:19 +0800
  • 5e72cd9a2b Add ErrPrimaryKeyRequired if schema has no primary key defined Jinzhu 2021-01-06 14:42:42 +0800
  • 435bf70865 Add OnConflict OnConstraint support, close #3882 Jinzhu 2021-01-05 21:31:51 +0800
  • 6d260a86bd Fix Set/Get settings when saving associations, close #3908 Jinzhu 2021-01-05 21:12:31 +0800
  • 53b3ebdd1d Add invalid data error when building conditions Jinzhu 2021-01-05 21:01:16 +0800
  • 00a785cd68 Don't use invalid value to build conditions, close #3912 Jinzhu 2021-01-05 18:01:51 +0800
  • 60b769c2c8 OnConflict UpdateAll includes fields that specified default values via tag Jinzhu 2021-01-04 15:13:56 +0800
  • 9b8d3b3a0f
    fix typo (#3911) Philip Sahli 2021-01-04 04:30:05 +0100
  • 1b8cb07cf2 Allow Where select fields when searching with struct Jinzhu 2020-12-30 17:42:27 +0800
  • 79864af9ff Allow customize auto increment increment Jinzhu 2020-12-30 11:16:40 +0800
  • 6c0ee2700a Allow to use Valuer with Eq expression, #3899 Jinzhu 2020-12-30 10:42:13 +0800
  • 065787c54e Compatible with with foreign key with ID suffix #3890 Jinzhu 2020-12-28 18:20:42 +0800
  • 8bf50a5592 Fix parse relations if only specfied References, close #3890 Jinzhu 2020-12-28 17:58:12 +0800
  • ade0bd6d60 Fix SELECT with sql expression in some cases, close #3889 Jinzhu 2020-12-28 10:40:30 +0800
  • ad8a5c0d1a Add QueryFields mode when query many2many relations v1.20.9 Jinzhu 2020-12-25 16:35:25 +0800
  • 59730417aa Fix auto migrate field with customized field type, close https://github.com/go-gorm/mysql/issues/20 Jinzhu 2020-12-23 17:31:47 +0800
  • 77bf4aecc6 Create associations w/o nested transaction option Jinzhu 2020-12-18 13:25:52 +0800
  • 468152d45b Add DisableNestedTransaction support Jinzhu 2020-12-16 19:33:35 +0800
  • 6848ae872f Fix gorm.Expr with SubQuery, fix #3857 Jinzhu 2020-12-15 15:35:11 +0800
  • 0f00493c50 Continue to update tracking fields even not selected with Select, but skip them if omited with Omit, fix #3856 Jinzhu 2020-12-15 11:18:29 +0800
  • 14a0976dd4 populate the DeletedAt field when soft delete, fix #3855 Jinzhu 2020-12-15 10:39:20 +0800
  • 21c3f05aa2 Use transaction's conn when preparing statement Jinzhu 2020-12-14 18:30:43 +0800
  • 51b5208599
    Fix building of `clause.Eq` and `clause.Neq` expressions that fail to handle `(*T)(nil)` use cases correctly (#3848) vellotis 2020-12-11 08:07:23 +0200
  • e1952924e2 Support named Joins, close #3833 Jinzhu 2020-12-07 10:31:06 +0800
  • 6a0fca2195 Return error for invalid relations definition, close #3830 Jinzhu 2020-12-06 18:07:12 +0800
  • 1ef1f0bfe4 Fix Count with complicated Select, close #3826 Jinzhu 2020-12-06 14:04:37 +0800
  • f655041908 Allow overwrite ignored field's permission, close #3829 Jinzhu 2020-12-06 11:06:52 +0800
  • 61d3a4d6ea
    Fix schema initialization paths (#3825) Andy Bursavich 2020-12-03 19:28:38 -0800
  • f2321ca164
    Fixed creation of associated records with composite primary keys (go-gorm#3817) (#3818) v1.20.8 Andrei Baibaratsky 2020-12-03 08:00:26 +0100
  • 51568ba4ab Delete select clause after Count, close #3814 Jinzhu 2020-12-02 17:27:07 +0800
  • 0c12a4c360 Add CreateBatchSize option Jinzhu 2020-12-02 14:59:50 +0800
  • 41e52f343a
    fix: scan more base type and sql.NullXXX (#3813) SmallTianTian 2020-12-02 14:00:16 +0800
  • acedbb8310
    Fix Scan int32, uint32 (#3801) Dakatan 2020-11-30 11:09:08 +0900
  • 0f77500917 Waiting for schema to be initialized, close #3790 Jinzhu 2020-11-27 17:04:56 +0800
  • 6950007d6a Fix failed to parse relations when using goroutinue, close #3790 Jinzhu 2020-11-27 14:32:20 +0800
  • 557b874ee3 Fix check field's precision Jinzhu 2020-11-25 14:55:53 +0800