Commit Graph

  • 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 +08:00
  • ba253982bf Fix Pluck with Time and Scanner Jinzhu 2020-09-24 20:08:24 +08:00
  • c0de3c5051 Support FullSaveAssociations Mode, close #3487, #3506 Jinzhu 2020-09-24 19:28:52 +08:00
  • 5228735915 Don't build IN condition if value implemented Valuer interface, #3517 Jinzhu 2020-09-24 15:00:13 +08:00
  • 1a526e6802 Fix NamingStrategy with embedded struct, close #3513 Jinzhu 2020-09-24 11:32:38 +08:00
  • 95a7cb5291 feat: support complexity field with special tag saved as json. j2gg0s 2020-09-23 14:15:57 +08:00
  • 17a4bf87d7 Add option to detect unique constraint errors Lauris BH 2020-09-22 18:46:15 +03:00
  • 68920449f9
    Fix format sql log (#3492) caelansar 2020-09-19 13:48:34 +08:00
  • 5040522f44 Fix format sql log caelansar 2020-09-19 12:01:40 +08:00
  • 089939c767 AutoMigrate should auto create indexes, close #3486 Jinzhu 2020-09-18 21:50:11 +08:00
  • c9165fe3ca Don't panic when using unmatched vars in query, close #3488 Jinzhu 2020-09-18 21:42:27 +08:00
  • 072f1de83a Add DryRunModeUnsupported Error for Row/Rows Jinzhu 2020-09-18 21:34:44 +08:00
  • d002c70cf6 Support named argument for struct Jinzhu 2020-09-17 21:52:41 +08:00
  • a932175ccf Refactor cascade delete associations Jinzhu 2020-09-15 14:28:26 +08:00
  • 06d534d6ea Cascade delete associations, close #3473 Jinzhu 2020-09-15 12:41:45 +08:00
  • 1d5f910b6e Update workflows template Jinzhu 2020-09-14 15:29:47 +08:00
  • 0ec10d4907 Fix format SQL log, close #3465 Jinzhu 2020-09-14 12:37:16 +08:00
  • ed1b134e1c Fix use uint to for autoCreateTime, autoUpdateTime Jinzhu 2020-09-11 17:33:31 +08:00
  • 02fb382ec0 Support scan into int, string data types Jinzhu 2020-09-11 15:01:02 +08:00
  • e583dfa196 Allow negative number for limit v1.20.1 Jinzhu 2020-09-11 11:44:58 +08:00
  • b8a74a80d7 Fix embedded struct with default value, close #3451 Jinzhu 2020-09-11 10:49:31 +08:00
  • 2a9062dd26 Fix default tag not working in embedded schema (#3451) rocinantex 2020-09-11 11:07:39 +08:00
  • 70a7bd52ca Support delete associations with Select when deleting Jinzhu 2020-09-10 21:46:18 +08:00
  • 53caa85cf4 Use db's Logger for callbacks logs, close #3448, #3447 Jinzhu 2020-09-10 19:20:47 +08:00
  • 758fbcd5fd Feat add SetLogMode gsxhnd 2020-09-10 18:18:24 +08:00
  • 231effe119 Fix parse blank default value, close #3442 Jinzhu 2020-09-10 11:59:18 +08:00
  • 619d306cef ignore (-) when creating default values, #3434 Jinzhu 2020-09-10 10:55:02 +08:00
  • f6ed895caf Build relationships if fields are not ignored, fix #3181 Jinzhu 2020-09-09 16:32:29 +08:00
  • f6117b7f3d Should not diplay SubQuery SQL log, close #3437 Jinzhu 2020-09-09 16:26:11 +08:00
  • 0b6ef3cb87 Merge branch 'jsternberg-migrator-release-conn' Jinzhu 2020-09-09 10:56:07 +08:00
  • 567597f000 Fix fail on sqlserver, #3433 Jinzhu 2020-09-09 10:53:13 +08:00
  • e7188c04ca Fix tests & refactor for PR #3429 Jinzhu 2020-09-09 10:31:48 +08:00
  • 839e09e985 correct generated sql caelansar 2020-09-08 21:28:04 +08:00
  • 2242ac6c0e Fix tests & refactor for PR #3429 Jinzhu 2020-09-09 10:31:48 +08:00
  • 222427c474
    Release the connection when discovering the column types in the migrator Jonathan A. Sternberg 2020-09-08 18:12:14 -05:00
  • aceb3dad3b correct generated sql caelansar 2020-09-08 21:28:04 +08:00
  • c70c097e88 Refactor format SQL for driver.Valuer Jinzhu 2020-09-08 19:11:20 +08:00
  • c9d5c0b07a Fix create database foreign keys for same type having has many/one & many2many relationships, close #3424 Jinzhu 2020-09-08 18:24:35 +08:00
  • 6de0356a57
    Fix monocolor log output inconsist with colorful log (#3425) egenchen 2020-09-08 16:59:47 +08:00
  • 14c54630a4 Fix monocolor log output inconsist with colorful log egenchen 2020-09-08 15:11:13 +08:00
  • 05794298bd Fix Save with specified table, close #3396 Jinzhu 2020-09-06 12:22:05 +08:00
  • 6e38a2c2d5 Fix many2many join table name rule Jinzhu 2020-09-06 10:51:21 +08:00
  • d8ddccf147 Don't marshal to null for associations after preloading, close #3395 Jinzhu 2020-09-04 19:02:37 +08:00
  • f121622228 Don't add prefix for invalid embedded fields Jinzhu 2020-09-04 14:30:53 +08:00
  • 28121d4455 Fix panic when batch creating from slice contains invalid data, close #3385 Jinzhu 2020-09-03 20:59:41 +08:00
  • 6a86646469 Fix use db function as integer's default value, close #3384 Jinzhu 2020-09-03 20:41:00 +08:00
  • dd0d74fad0 Fix transaction on closed conn when using prepared statement, close #3380 Jinzhu 2020-09-03 19:16:55 +08:00
  • 3cd81ff646 Fix query with specified table and conditions, close #3382 Jinzhu 2020-09-03 18:42:32 +08:00
  • 78e9c9b748 raise error when failed to parse default value, close #3378 Jinzhu 2020-09-03 18:20:57 +08:00
  • f2adb088c5 Set field size from primary fields to foreign fields Jinzhu 2020-09-03 16:11:15 +08:00
  • cf31508095 Fix tests_all.sh Jinzhu 2020-09-03 15:02:04 +08:00
  • 3cc7a30712 Fix tests/go.mod Jinzhu 2020-09-03 13:28:37 +08:00
  • 98e15e0b95 Setup DB's ConnPool in PrepareStmt mode, fix #3362 Jinzhu 2020-09-03 12:54:26 +08:00
  • ff3880292d Update missing playground template Jinzhu 2020-09-03 11:48:44 +08:00
  • 48b395b760 returns ErrEmptySlice when creating with zero length slice Jinzhu 2020-09-03 11:32:30 +08:00
  • fcb666cfa3 Fix associations using composite primary keys without ID field, close #3365 Jinzhu 2020-09-03 10:58:48 +08:00
  • 130f24090d update default_value_test Jinzhu 2020-09-02 21:03:47 +08:00
  • dbe0f4d8d7 Allow use NULL as default value for string, close #3363 Jinzhu 2020-09-02 20:15:12 +08:00
  • 680dda2c15 Fix combine conditions when using string conditions, close #3358 Jinzhu 2020-09-02 20:09:51 +08:00
  • dbaa6b0ec3 Fix Scan struct with primary key, close #3357 Jinzhu 2020-09-02 16:14:26 +08:00
  • 9a101c8a08
    fmt.Sprint() to strconv.Format (#3354) aimuz 2020-09-01 21:03:37 +08:00
  • d1e17d549f request ColumnTypes after new session method Jinzhu 2020-09-01 20:52:06 +08:00
  • af6da6f89b fmt.Sprint() to strconv.Format aimuz 2020-09-01 19:20:20 +08:00
  • 22317b43c0 Fix migrate field, failed to migrate when field size changed Jinzhu 2020-09-01 18:58:16 +08:00
  • bf6123b01e Fix duplicated soft delete clause Jinzhu 2020-09-01 18:05:26 +08:00
  • e73147fa8e Better support for scan into map, fix unfriendly data type for interface, close #3351 Jinzhu 2020-09-01 16:55:30 +08:00
  • e6f4b711a7
    fix order case (#3350) 宋小北 2020-09-01 15:50:53 +08:00
  • 6e80909bfe
    fix order case 宋小北 2020-09-01 15:23:10 +08:00
  • e98a4a3a4e Change default timeout interval to avoid test fail on CI Jinzhu 2020-09-01 14:01:59 +08:00
  • 308d22b166 Clean up associations before Preload, close #3345 Jinzhu 2020-09-01 13:48:37 +08:00
  • 162367be7d Fix multiple M2M relations on one table, close #3347 Jinzhu 2020-09-01 11:30:16 +08:00
  • 0273856e4d Don't alter column with full column data type, close #3339 Jinzhu 2020-08-31 16:27:22 +08:00
  • 496db1f13e Fix named argument with multiple line SQL, fix #3336 Jinzhu 2020-08-31 15:45:56 +08:00
  • 11ceb74551 db instance add method WithLogger Aapeli 2020-08-31 14:20:42 +08:00
  • 9b0ad4730f Squashed commit of the following: Jinzhu 2020-08-31 12:08:33 +08:00
  • 29df146d0b try to see if latest works Steve Fan 2020-08-31 01:53:50 +08:00
  • 8bff26c4c8 no need for sqlite Steve Fan 2020-08-31 01:49:39 +08:00
  • 4ffe03a350 add oracle xe in docker compose Steve Fan 2020-08-31 01:48:33 +08:00
  • 1870a0d20f no need for gorm cache Steve Fan 2020-08-31 01:46:31 +08:00
  • f99aa2f504 add oracle related stuff Steve Fan 2020-08-31 01:42:28 +08:00
  • 3d1bd9d4c4 Merge remote-tracking branch 'upstream/master' Steve Fan 2020-08-30 23:48:59 +08:00
  • 53f8c9fc1c More compatible prioritized primary field #3156 v1.20.0 Jinzhu 2020-08-30 20:57:58 +08:00
  • a9650e563f Merge remote-tracking branch 'upstream/master' Steve Fan 2020-08-30 18:56:03 +08:00
  • c052d15bda feature: using default limite and offset query for count rainingmaster 2020-08-30 11:43:19 +08:00
  • b4166d9515 Fix V2 Save compatibility, close #3332 Jinzhu 2020-08-30 10:12:49 +08:00
  • 59586dcd31 Fix unnecessary duplicated primary condition when using Save, close #3330 Jinzhu 2020-08-29 23:02:19 +08:00
  • 677edf9d9e ignore AS when alias table as it doesn't work on oracle db, close #3328 Jinzhu 2020-08-29 22:09:07 +08:00
  • 506f85d741 remove Workarounds.*, add DoColumnLowerCasingOnSchemaScanning Steve Fan 2020-08-29 19:05:04 +08:00
  • 5b0fcc9176 Merge branch 'master' into patch-column-scan Steve Fan 2020-08-29 17:39:24 +08:00
  • 68640733b6 Merge remote-tracking branch 'upstream/master' Steve Fan 2020-08-29 17:30:28 +08:00
  • 06461b3254 GORM V2.0.0 Jinzhu 2020-08-28 21:16:47 +08:00
  • 066d54db1f prepare_stmt add ctx 王岚 2020-08-28 18:40:59 +08:00
  • 94c6bb980b Refactor association v1.9.19 Jinzhu 2020-08-28 12:25:25 +08:00
  • c19a3abefb Fix self-referential belongs to, close #3319 Jinzhu 2020-08-28 11:31:13 +08:00
  • dacbaa5f02 Fix update attrs order Jinzhu 2020-08-27 19:52:01 +08:00
  • d50dbb0896 Fix check valid db name, close #3315 v0.2.38 Jinzhu 2020-08-27 19:15:40 +08:00
  • cd54dddd94 Test update with GormValuer Jinzhu 2020-08-27 18:42:40 +08:00
  • 7a90496701 Test create from sql expr with map Jinzhu 2020-08-27 16:27:59 +08:00
  • ce8853e7a6 Add GormValuer interface support Jinzhu 2020-08-27 15:03:57 +08:00
  • 0d96f99499 Update README Jinzhu 2020-08-26 12:22:11 +08:00