Commit Graph

  • 66e8a72bf1 Support NameReplace for NamingStrategy, close #3779 Jinzhu 2020-11-23 11:24:07 +0800
  • 6186a4daa7 allow SkipHooks when preload & save associations Jinzhu 2020-11-20 16:56:52 +0800
  • dec8748512 Refactor QueryFields Option Jinzhu 2020-11-20 15:44:39 +0800
  • 47ffd0bef4
    Select all fields in SQL queries avoiding the SELECT * FROM (#3731) Luis Guillermo Gómez 2020-11-20 02:38:25 -0500
  • e3b4e0418f Inherit SkipHooks option when preloading associations, close #3772 Jinzhu 2020-11-20 15:11:02 +0800
  • d66af581b4
    Fix Association.Replace() error returning (#3766) Deviller 2020-11-19 14:24:34 +0300
  • e7f45d5b01 Add error check for Transaction v1.20.7 Jinzhu 2020-11-19 10:45:17 +0800
  • a1a30c38de Allow to omit fields when upsert associations, close #3762 Jinzhu 2020-11-18 19:06:49 +0800
  • 54b80b18bc Allow to omit fields in associations, close #3752 Jinzhu 2020-11-17 21:49:40 +0800
  • 50df9da6a1 Allow to skip associations when creating join table for many2many, close #3605 Jinzhu 2020-11-17 20:24:08 +0800
  • 694e42d6a1 Fix clause.IN with only one value of multiple rows Jinzhu 2020-11-17 19:11:16 +0800
  • 9df9f7688b Change UpdatingColumn to SkipHooks Jinzhu 2020-11-17 17:49:43 +0800
  • 26504f5cae Use NewDB to replace WithConditions for Session Jinzhu 2020-11-17 15:41:17 +0800
  • f6e1786ca2 Add skip hooks support Jinzhu 2020-11-17 15:19:58 +0800
  • f5c2126c29 Fix FindInBatches tests Jinzhu 2020-11-17 13:14:34 +0800
  • 320f33061c Fix FindInBatches to modify the query conditions, close #3734 Jinzhu 2020-11-17 11:19:04 +0800
  • a8db54afd6 Add CreateInBatches supports Jinzhu 2020-11-16 21:42:30 +0800
  • 62be27d3ca Add OnConflict UpdateAll support Jinzhu 2020-11-16 20:22:08 +0800
  • a4c0c6b400
    cache converted name (#3736) alresvor 2020-11-16 15:16:15 +0800
  • a9f54d53fb Don't preload when there are any error happened Jinzhu 2020-11-16 12:23:13 +0800
  • c1bb8e4551 Should not display the record not found error when using FirstOrXXX, close #3748 Jinzhu 2020-11-16 11:20:13 +0800
  • 1e241aa645 Reduce GC alloc Jinzhu 2020-11-10 18:38:24 +0800
  • 832abda7a4
    refactor: simplify the writing instead of using struct literal (#3728) LeoZhan 2020-11-08 09:41:43 +0800
  • 85e9f66d26 Fix create index for other database/schema, close #3698 v1.20.6 Jinzhu 2020-11-05 11:43:21 +0800
  • fcf2ab6c0e Add deleted_at check when soft deleting, fix #3720 Jinzhu 2020-11-05 11:20:08 +0800
  • 560d303e71 Fix Scan with soft delete, close #3712 Jinzhu 2020-11-04 11:03:22 +0800
  • c915471169 Support Expression for OrderBy clause Jinzhu 2020-11-03 10:30:05 +0800
  • 57b033e2dd
    Marshalling zero valued Deleted at to nullhttps://github.com/go-gorm/gorm/issues/3693 (#3695) Amit Basuri 2020-11-02 07:33:39 +0530
  • 3ebdcbdb18 Marshal invalid DeletedAt as null, fix #3693 Jinzhu 2020-10-30 19:08:20 +0800
  • a8141b6cc9 Fix DeletedAt marshal and unmarshal, close #3693 Jinzhu 2020-10-30 18:15:07 +0800
  • 4009ec5816 Fix call hook methods when updating with struct Jinzhu 2020-10-27 18:14:36 +0800
  • d011ebe7af Fix clone statement for Unscoped, UpdatingColumn, close #3681 Jinzhu 2020-10-26 10:17:25 +0800
  • cb591a7129 Fix panic when using FirstOrCreate with soft delete, close #3671 Jinzhu 2020-10-23 18:40:05 +0800
  • dd92f8bdc0 Allow create table for other database/schema #3640 Jinzhu 2020-10-23 11:01:45 +0800
  • db2630cb3a Fix data race problem when using Scan, close #3662 v1.20.5 Jinzhu 2020-10-22 17:32:39 +0800
  • 0aef8acc11 Add smart auto migrate tests Jinzhu 2020-10-22 14:00:10 +0800
  • 6d90d09cb8
    Recorder追踪函数trace在finish_api文件358行scan函数所在的371行被调用时,BeginAt 没有赋值,默认值0001-0:0:0导致追踪日志显示的sql耗时无限大. (#3657) qifengzhang007 2020-10-22 14:09:09 +0800
  • 231aba53c5 Fix count with order by Jinzhu 2020-10-22 11:28:43 +0800
  • 5fee5b1b24 Add option tag support for index Jinzhu 2020-10-21 20:15:49 +0800
  • 635dcc9ad4
    add gorm ColumnType interface, remove sql one (#3647) Michelle 2020-10-21 12:35:33 +0200
  • bdb30da0a7 Fix copy lock for prepared statement, close #3642, #3607 v1.20.4 Jinzhu 2020-10-21 15:47:46 +0800
  • 33a11767ea Upgrade test go.mod dependencies v1.20.3 Jinzhu 2020-10-20 19:13:15 +0800
  • 9b2181199d Fix soft delete with OrCondition, close #3627 Jinzhu 2020-10-19 14:49:42 +0800
  • 9dbef26feb Fix feature request label Jinzhu 2020-10-19 11:49:03 +0800
  • 5731e632db Merge branch 'tebrizetayi-null-in-logger' Jinzhu 2020-10-19 11:04:35 +0800
  • a1ea1713b0 Fix log Stringer Jinzhu 2020-10-19 11:04:18 +0800
  • d825554307 nil point transfer '<nil>' not transfer NULL #3604 TABRIZ ATAYI 2020-10-18 00:05:43 +0200
  • 08ecef8e0b Fix NamedArguments with nested struct, close #3596 Jinzhu 2020-10-13 15:32:25 +0800
  • 689d6e2331 Fix DeletedAt marshalling, close #3598 Jinzhu 2020-10-13 14:12:03 +0800
  • 063b1ca0c4 Refactor SlowSQL log Jinzhu 2020-10-10 10:56:00 +0800
  • 3d846957cd Compatible with tag notNull Jinzhu 2020-10-09 17:39:35 +0800
  • 7faf1ca80f Fix Select with AS, close #3581, #3567 Jinzhu 2020-10-09 11:52:12 +0800
  • dbc6b34dce Add detailed error information when missing table name Jinzhu 2020-09-29 15:42:58 +0800
  • a2faa41cbe Refactor NamingStrategy, close #3540 Jinzhu 2020-09-28 10:55:27 +0800
  • 9eec6ae066 Fix affected rows for Scan, change affected rows count for row/rows to '-', close #3532 v1.20.2 Jinzhu 2020-09-27 12:25:38 +0800
  • ba253982bf Fix Pluck with Time and Scanner Jinzhu 2020-09-24 20:08:24 +0800
  • c0de3c5051 Support FullSaveAssociations Mode, close #3487, #3506 Jinzhu 2020-09-24 19:28:52 +0800
  • 5228735915 Don't build IN condition if value implemented Valuer interface, #3517 Jinzhu 2020-09-24 15:00:13 +0800
  • 1a526e6802 Fix NamingStrategy with embedded struct, close #3513 Jinzhu 2020-09-24 11:32:38 +0800
  • 68920449f9
    Fix format sql log (#3492) caelansar 2020-09-19 13:48:34 +0800
  • 089939c767 AutoMigrate should auto create indexes, close #3486 Jinzhu 2020-09-18 21:50:11 +0800
  • c9165fe3ca Don't panic when using unmatched vars in query, close #3488 Jinzhu 2020-09-18 21:42:27 +0800
  • 072f1de83a Add DryRunModeUnsupported Error for Row/Rows Jinzhu 2020-09-18 21:34:44 +0800
  • d002c70cf6 Support named argument for struct Jinzhu 2020-09-17 21:52:41 +0800
  • a932175ccf Refactor cascade delete associations Jinzhu 2020-09-15 14:28:26 +0800
  • 06d534d6ea Cascade delete associations, close #3473 Jinzhu 2020-09-15 12:41:45 +0800
  • 1d5f910b6e Update workflows template Jinzhu 2020-09-14 15:29:47 +0800
  • 0ec10d4907 Fix format SQL log, close #3465 Jinzhu 2020-09-14 12:37:16 +0800
  • ed1b134e1c Fix use uint to for autoCreateTime, autoUpdateTime Jinzhu 2020-09-11 17:33:31 +0800
  • 02fb382ec0 Support scan into int, string data types Jinzhu 2020-09-11 15:01:02 +0800
  • e583dfa196 Allow negative number for limit v1.20.1 Jinzhu 2020-09-11 11:44:58 +0800
  • b8a74a80d7 Fix embedded struct with default value, close #3451 Jinzhu 2020-09-11 10:49:31 +0800
  • 70a7bd52ca Support delete associations with Select when deleting Jinzhu 2020-09-10 21:46:18 +0800
  • 53caa85cf4 Use db's Logger for callbacks logs, close #3448, #3447 Jinzhu 2020-09-10 19:20:47 +0800
  • 231effe119 Fix parse blank default value, close #3442 Jinzhu 2020-09-10 11:59:18 +0800
  • 619d306cef ignore (-) when creating default values, #3434 Jinzhu 2020-09-10 10:55:02 +0800
  • f6ed895caf Build relationships if fields are not ignored, fix #3181 Jinzhu 2020-09-09 16:32:29 +0800
  • f6117b7f3d Should not diplay SubQuery SQL log, close #3437 Jinzhu 2020-09-09 16:26:11 +0800
  • 0b6ef3cb87 Merge branch 'jsternberg-migrator-release-conn' Jinzhu 2020-09-09 10:56:07 +0800
  • 567597f000 Fix fail on sqlserver, #3433 Jinzhu 2020-09-09 10:53:13 +0800
  • e7188c04ca Fix tests & refactor for PR #3429 Jinzhu 2020-09-09 10:31:48 +0800
  • 839e09e985 correct generated sql caelansar 2020-09-08 21:28:04 +0800
  • 2242ac6c0e Fix tests & refactor for PR #3429 Jinzhu 2020-09-09 10:31:48 +0800
  • 222427c474
    Release the connection when discovering the column types in the migrator Jonathan A. Sternberg 2020-09-08 18:12:14 -0500
  • aceb3dad3b correct generated sql caelansar 2020-09-08 21:28:04 +0800
  • c70c097e88 Refactor format SQL for driver.Valuer Jinzhu 2020-09-08 19:11:20 +0800
  • c9d5c0b07a Fix create database foreign keys for same type having has many/one & many2many relationships, close #3424 Jinzhu 2020-09-08 18:24:35 +0800
  • 6de0356a57
    Fix monocolor log output inconsist with colorful log (#3425) egenchen 2020-09-08 16:59:47 +0800
  • 05794298bd Fix Save with specified table, close #3396 Jinzhu 2020-09-06 12:22:05 +0800
  • 6e38a2c2d5 Fix many2many join table name rule Jinzhu 2020-09-06 10:51:21 +0800
  • d8ddccf147 Don't marshal to null for associations after preloading, close #3395 Jinzhu 2020-09-04 19:02:37 +0800
  • f121622228 Don't add prefix for invalid embedded fields Jinzhu 2020-09-04 14:30:53 +0800
  • 28121d4455 Fix panic when batch creating from slice contains invalid data, close #3385 Jinzhu 2020-09-03 20:59:41 +0800
  • 6a86646469 Fix use db function as integer's default value, close #3384 Jinzhu 2020-09-03 20:41:00 +0800
  • dd0d74fad0 Fix transaction on closed conn when using prepared statement, close #3380 Jinzhu 2020-09-03 19:16:55 +0800
  • 3cd81ff646 Fix query with specified table and conditions, close #3382 Jinzhu 2020-09-03 18:42:32 +0800
  • 78e9c9b748 raise error when failed to parse default value, close #3378 Jinzhu 2020-09-03 18:20:57 +0800
  • f2adb088c5 Set field size from primary fields to foreign fields Jinzhu 2020-09-03 16:11:15 +0800
  • cf31508095 Fix tests_all.sh Jinzhu 2020-09-03 15:02:04 +0800
  • 3cc7a30712 Fix tests/go.mod Jinzhu 2020-09-03 13:28:37 +0800