Commit Graph

  • f29afdd329
    Rewrite of finisher_api Godocs (#5618) Bruce MacKenzie 2022-09-08 23:16:41 -04:00
  • fc8bb273c8 Optimize: utils.Contains applicable to more types demoManito 2022-09-08 13:46:08 +08:00
  • 8591eb00fb fix demoManito 2022-09-08 12:10:19 +08:00
  • 0a9689879a support scan assign slice cap demoManito 2022-08-23 22:44:23 +08:00
  • b3eb1c8c51
    simplified regexp (#5677) Jiepeng Cao 2022-09-05 15:39:19 +08:00
  • f78f635fae
    Optimize: code logic db.scanIntoStruct() (#5633) jesse.tang 2022-09-05 15:34:33 +08:00
  • 9d550182d3 simplified regexp jiepeng 2022-09-05 15:26:55 +08:00
  • d71caef7d9
    fix: remove uuid autoincrement (#5620) Cr 2022-09-03 20:00:21 +08:00
  • bcb72fdddd Migrator allow to change from NOT NULL to DEFAULT NULL Paulius Jarmalavičius 2022-09-01 09:46:16 +03:00
  • b69f375f60 fix unhandled error Kamandlou 2022-08-30 17:09:44 +04:30
  • 6ae44f08b7 rename variable because collide with the imported package name Kamandlou 2022-08-30 16:53:09 +04:30
  • 205d638974 AutoMigrate() should always migrate checks, even there is no relationship constranits. Googol Lee 2022-08-25 15:45:31 +02:00
  • 77fc126a0d Expresions: added CAO and LAO (alias optional) anton98i 2022-08-23 16:37:26 +02:00
  • d3901daffa #5635 Add Config.DryRunMigration to prevent actually changing the schema when doing AutoMigrate() Googol Lee 2022-08-24 16:55:48 +02:00
  • c8e7b7f904 add log demoManito 2022-08-24 14:42:10 +08:00
  • f09ac71753 add log demoManito 2022-08-24 14:36:16 +08:00
  • c0d002bd9d add log demoManito 2022-08-24 14:29:36 +08:00
  • f3bc6f5ccb add log demoManito 2022-08-24 14:23:12 +08:00
  • db091d0de4 fix notes demoManito 2022-08-24 14:06:59 +08:00
  • b093fecb65 add tablename demoManito 2022-08-24 13:52:42 +08:00
  • d33b559293 test demoManito 2022-08-24 13:43:45 +08:00
  • 9235aea183 Added functions SelectExprs, MaxExpr, MinExp Daniel Hammerschmid 2022-07-25 16:50:45 +02:00
  • f940a55f5c Optimize: code logic db.scanIntoStruct() demoManito 2022-08-23 16:12:27 +08:00
  • 7ba745c3f5 expose ParameterizedQueries config option to remove values from sql logs Steven Soroka 2022-08-19 15:07:40 -04:00
  • 2fec56db78
    feat: migrator support type aliases a631807682 2022-08-19 16:24:25 +08:00
  • 7b38a65037
    fix: scan array a631807682 2022-08-19 12:36:37 +08:00
  • 1400547b7e
    fix: remove uuid autoincrement a631807682 2022-08-18 23:53:57 +08:00
  • 59812b25ae Rewrite of finisher_api Godocs Bruce MacKenzie 2022-08-17 12:20:03 -04:00
  • a76c7f88a1 autoMigrate支持动态生成表 Caisin 2022-08-15 17:35:35 +08:00
  • 7cc636f5b1
    chore(deps): bump gorm.io/driver/mysql from 1.3.5 to 1.3.6 in /tests dependabot[bot] 2022-08-15 07:08:24 +00:00
  • f40b7d30ce
    chore(deps): bump gorm.io/driver/postgres from 1.3.8 to 1.3.9 in /tests dependabot[bot] 2022-08-15 07:08:21 +00:00
  • 8c3018b96a
    Replace ioutil.Discard with io.Discard (#5603) Shunsuke Otani 2022-08-15 11:50:06 +09:00
  • 3f92b9b0df
    Refactor: redundant type from composite literal (#5604) Shunsuke Otani 2022-08-15 11:47:26 +09:00
  • ba227e8939
    Add Go 1.19 Support (#5608) Aoang 2022-08-15 10:46:57 +08:00
  • 573b9fa536 fix: correct grammar enwawerueli 2022-08-12 16:46:18 +03:00
  • 6b0b6ff8f8
    chore[ci skip]: improve code comments a631807682 2022-08-14 21:56:52 +08:00
  • c6c3be1f1b
    Add Go 1.19 Support Aoang 2022-08-14 16:12:37 +08:00
  • 5e634f15df when id(PrioritizedPrimaryField) datatype is bigint, AUTO_INCREMENT missed zhangdongdong92 2022-08-13 20:30:21 +08:00
  • 494b6dc464 Refactor: redundant type from composite literal zaneli 2022-08-13 17:33:02 +09:00
  • c56102fc7d Replace ioutil.Discard with io.Discard zaneli 2022-08-13 17:28:44 +09:00
  • 98297034da
    test: more goroutines a631807682 2022-08-13 10:49:05 +08:00
  • f87bfe8c31
    fix: double check prepare a631807682 2022-08-13 10:43:37 +08:00
  • f2e7d9975c fix: correct grammar enwawerueli 2022-08-12 16:46:18 +03:00
  • 7461e04e22
    fix: prepare deadlock a631807682 2022-08-12 17:32:43 +08:00
  • a35883590b
    update Delete Godoc to describe soft delete behaviour (#5554) Bruce MacKenzie 2022-08-10 23:38:04 -04:00
  • f223279384
    chore: fix gorm tag (#5577) Cr 2022-08-10 11:03:42 +08:00
  • f87a2a13d1
    chore: code comment a631807682 2022-08-06 23:36:10 +08:00
  • 34ccd9708f
    test: mixed inner join and left join a631807682 2022-08-06 23:33:51 +08:00
  • e9c8c5bec4
    feat: support inner join a631807682 2022-08-06 23:30:56 +08:00
  • d394eaf8ca
    chore: fix gorm tag a631807682 2022-08-05 00:41:09 +08:00
  • 9916a99d54
    chore[ci skip]: test remove unnecessary params a631807682 2022-08-02 14:37:29 +08:00
  • e8aad04d87
    chore[ci skip]: code style a631807682 2022-08-02 14:31:39 +08:00
  • b73096d61d
    fix: prepare deadlock a631807682 2022-08-02 14:23:56 +08:00
  • 3099d61444 use TableName() if struct implement Tabler interface Septem Li 2022-07-31 19:31:42 +08:00
  • be71d7e536 update Delete Godoc to describe soft delete behaviour Bruce MacKenzie 2022-07-29 09:19:52 -04:00
  • 6e03b97e26
    fix: empty serilizer err #5524 (#5525) hjwblog.com 2022-07-27 13:59:47 +08:00
  • c68d1477b8
    Try to discribe issue5546 ZacamaX 2022-07-27 11:42:17 +08:00
  • 3c6eb14c92 Fixed some typos in the code comment MJrocker 2022-07-26 20:01:20 +08:00
  • 2ba9bea366 Fixed some typos in the code comment MJrocker 2022-07-26 20:01:20 +08:00
  • e71a683736 feat: split type case huanjiawei 2022-07-25 21:32:05 +08:00
  • 06e174e24d
    fix: embedded default value (#5540) Cr 2022-07-25 14:10:30 +08:00
  • a29cb584b4
    fix: embedded default value a631807682 2022-07-23 15:08:45 +08:00
  • f29e9d2485 feat: fix UnixSecondSerializer return nil huanjiawei 2022-07-20 07:26:07 +08:00
  • 985dcdc8a7 fix: empty serilizer err #5524 huanjiawei 2022-07-19 23:41:30 +08:00
  • 2c94bb4e0a refactor: reduced code duplication FlorianVAG 2022-06-22 09:56:11 +02:00
  • 56a148b316 Added Coalesce and TimestampDiff expression Daniel Hammerschmid 2022-05-16 16:18:04 +02:00
  • bab3cd1724
    fix bad logging performance of bulk create (#5520) (#5521) Xudong Zhang 2022-07-18 20:47:00 +08:00
  • ff7d199d13 fix bad logging performance of bulk create (#5520) Xudong Zhang 2022-07-18 20:11:56 +08:00
  • 75720099b5 Create a new db in FindInBatches Jinzhu 2022-07-18 18:06:45 +08:00
  • a4919ae554 Preload in chunks to avoid mssql parameter limit Daniel Hammerschmid 2022-07-14 09:40:24 +02:00
  • 2ba599e8b7
    fix empty QueryClauses in association (#5502) (#5503) Goxiaoy 2022-07-15 11:15:18 +08:00
  • 2f44e005f6 style: empty QueryClauses in association (#5502) Goxiaoy 2022-07-14 20:39:34 +08:00
  • 099813bf11
    Adjust ToStringKey use unpack params, fix pass []any as any in variadic function (#5500) alingse 2022-07-14 20:05:22 +08:00
  • 4d40e34734 Update select tests Jinzhu 2022-07-14 14:39:43 +08:00
  • 3262daf8d4 Fix select with association column Jinzhu 2022-07-13 18:26:35 +08:00
  • cae30e9a50 Fix select with association column Jinzhu 2022-07-13 18:02:11 +08:00
  • a7063848ef Fix select with uppercase column name Jinzhu 2022-07-13 17:44:14 +08:00
  • 08f6d06e47 Fix select with quoted column name Jinzhu 2022-07-13 17:21:19 +08:00
  • 8ad4bc44d3 fix: use preparestmt in trasaction will use new conn kinggo 2022-07-13 13:55:32 +08:00
  • 1ebe2501f2 style: empty QueryClauses in association (#5502) Goxiaoy 2022-07-11 14:52:11 +08:00
  • cbecf7b5e7 test: empty QueryClauses in association (#5502) Goxiaoy 2022-07-11 13:47:28 +08:00
  • 62fdc2bb3b Fix serializer with empty string Jinzhu 2022-07-11 11:51:05 +08:00
  • d9eb6dfe0b fix empty QueryClauses in association (#5502) Goxiaoy 2022-07-10 21:08:43 +08:00
  • 8b1f47ea54 add .vscode to gitignore alingse 2022-07-09 20:45:28 +08:00
  • 3fde0baf3e fix pass []any as any in variadic function alingse 2022-07-09 20:45:15 +08:00
  • 2d41bda929
    test(MigrateColumn): mock alter column to improve field compare a631807682 2022-07-09 14:39:36 +08:00
  • 84e93363bb
    fix(FindInBatches): support composite primarykey a631807682 2022-07-08 17:44:35 +08:00
  • 15e0091f00 add some test case which related the logic The Breaker 2022-07-08 00:08:23 +07:00
  • b13d1757fa Refactor Model with slice data Jinzhu 2022-07-07 15:39:29 +08:00
  • 9fd73ae4f1 Revert "use callback to handle transaction" v1.23.8 Jinzhu 2022-07-07 15:06:48 +08:00
  • fe01e1b9f4 Fix Model with slice data Jinzhu 2022-07-07 14:43:33 +08:00
  • d1874b0c47
    Merge 33558ed56e9d6b9d2ea808bc46c0b77e7952d813 into 46bce170cae701615e2b2f8b2448b54524be9648 sunfuze 2022-07-07 10:34:56 +08:00
  • 33558ed56e bypass ci lint checker Joe 2022-07-07 10:34:29 +08:00
  • bc340b7abe need apply scopes before invoke transaction begin hooks Joe 2022-07-06 23:43:32 +08:00
  • 3b79a192cd use callbacks.Begin as a hook to handle begin operation Joe 2022-07-06 16:43:59 +08:00
  • 46bce170ca
    test: pg array type (#5480) Cr 2022-07-04 16:42:27 +08:00
  • 2ef805373d
    chore(deps): bump gorm.io/driver/sqlite from 1.3.2 to 1.3.5 in /tests dependabot[bot] 2022-07-04 07:17:34 +00:00
  • 8c19fd4df8
    test: pg array type a631807682 2022-07-02 16:13:05 +08:00
  • 5c4016d9a3
    Merge pull request #5455 from longbridgeapp/feat-support-transaction-calllback Jason Lee 2022-07-01 23:34:26 +08:00
  • c74bc57add
    fix: association many2many duplicate elem (#5473) v1.23.7 Cr 2022-07-01 15:12:15 +08:00