Commit Graph

  • a8655f7947 Fix auto select with smaller struct for slices Jinzhu 2020-07-09 12:15:35 +08:00
  • ce71bffaf3 新增中文 README misitebao 2020-07-09 10:25:54 +08:00
  • 0790ff6937 Update tests helper to check time v0.2.20 Jinzhu 2020-07-09 09:42:27 +08:00
  • 2ae0653af2 Fix ambiguous column when using same column name in join table, close #3120 Jinzhu 2020-07-09 09:03:48 +08:00
  • e1084e78d0 Allow customize AutoIncrement for primary field Jinzhu 2020-07-08 18:50:49 +08:00
  • 30188e7aa4 CHECK constraint without parentheses Jinzhu 2020-07-08 18:15:45 +08:00
  • 619cd332ec Add index priority supports Jinzhu 2020-07-08 17:59:40 +08:00
  • de482f57ff Test raw sql with gorm.Expr Jinzhu 2020-07-06 15:47:33 +08:00
  • b5725940e9 Test Select with Update Struct Jinzhu 2020-07-06 11:20:43 +08:00
  • 9a4941ba70 Test Order/GroupBy Jinzhu 2020-07-05 22:12:52 +08:00
  • 4e066c9590 Test Or Jinzhu 2020-07-05 12:23:45 +08:00
  • 1a2fabb34d Test Not Jinzhu 2020-07-05 11:53:10 +08:00
  • 89ea62077d DryRun for RowQuery, Exec, close #3106 Jinzhu 2020-07-04 08:33:10 +08:00
  • 90a40361ed Fix set bool field from null Jinzhu 2020-07-04 08:21:23 +08:00
  • f835a4deac Add health check for github action databases Jinzhu 2020-07-04 07:57:33 +08:00
  • 6b98ced13d Fix set time field from null, close #3108 Jinzhu 2020-07-04 07:45:07 +08:00
  • d4f8a52442 Fix join table foreign key in snake_case Jinzhu 2020-07-04 07:24:30 +08:00
  • 2416eabd3f Change unique_idnex to UniqueIndex Jinzhu 2020-07-04 00:36:27 +08:00
  • f93345afa8 Close cached prepared stmt when got error Jinzhu 2020-07-03 10:26:18 +08:00
  • 8100ac7663 Change default postgres DSN for github action Jinzhu 2020-07-03 09:26:23 +08:00
  • 2d945a9641 Switch pgx as default driver Jinzhu 2020-07-03 08:53:38 +08:00
  • 3c03b6e527
    fix no limit no offset. (#3101) SmallTianTian 2020-07-02 18:14:33 +08:00
  • 91b6100acc add test for playground. tick 2020-07-02 16:34:24 +08:00
  • 1982af3900 fix no limit no offset. tick 2020-07-02 15:57:29 +08:00
  • 3f355dc050 Refactor Jinzhu 2020-07-02 10:14:30 +08:00
  • 63e48191a8 Test failed to save association should rollback, close #3100 Jinzhu 2020-07-01 21:28:19 +08:00
  • b0aae504ab Merge branch 'mojocn-master' Jinzhu 2020-07-01 19:53:50 +08:00
  • 322c6a36ee Fix .github config Jinzhu 2020-07-01 19:50:24 +08:00
  • 65d6c19d73 Test multiple index tags Jinzhu 2020-07-01 11:47:46 +08:00
  • d342f4122a Better support Count in chain Jinzhu 2020-07-01 10:19:52 +08:00
  • 9d7df71332 Query with smaller struct Jinzhu 2020-07-01 08:56:21 +08:00
  • 7aaac3a580 Allow to use sql function in Group, Pluck Jinzhu 2020-06-30 23:06:48 +08:00
  • 3e4dbde920 Test Hooks For Slice Jinzhu 2020-06-30 22:47:21 +08:00
  • 66dcd7e3ca Add SetColumn, Changed method Jinzhu 2020-06-30 16:53:54 +08:00
  • e308b103c0 SingularTable for JoinTable Jinzhu 2020-06-30 07:29:15 +08:00
  • eeee014500 Only query with readable fields Jinzhu 2020-06-27 08:04:12 +08:00
  • d5d31b38a7 Test group with table name Jinzhu 2020-06-26 08:39:18 +08:00
  • a550a05882 Set db type after autotime Jinzhu 2020-06-26 07:26:45 +08:00
  • 81f4fafae4 Test group by with multiple columns Jinzhu 2020-06-25 23:37:49 +08:00
  • af632199cf Test set string field's default value to blank string Jinzhu 2020-06-25 22:48:10 +08:00
  • c888560a0e Fix go.mod Jinzhu 2020-06-25 08:08:37 +08:00
  • dcdcc6fedc Fix create with default value Jinzhu 2020-06-25 08:00:10 +08:00
  • 4cbd99aa94 Add default value test Jinzhu 2020-06-25 06:38:07 +08:00
  • 19f56ddc2a Upgrade default mysql driver Jinzhu 2020-06-24 20:19:28 +08:00
  • 6b92bca664 Update test script Jinzhu 2020-06-24 19:09:19 +08:00
  • 630f4fe03f Create join table with ReorderModels Jinzhu 2020-06-24 16:43:53 +08:00
  • fea181e87c Test multiple index tags Jinzhu 2020-07-01 11:47:46 +08:00
  • d02b592c6c Better support Count in chain Jinzhu 2020-07-01 10:19:52 +08:00
  • 9075b33620 Query with smaller struct Jinzhu 2020-07-01 08:56:21 +08:00
  • ee1f46e3a1 Allow to use sql function in Group, Pluck Jinzhu 2020-06-30 23:06:48 +08:00
  • 929c0c576c Test Hooks For Slice v0.2.19 Jinzhu 2020-06-30 22:47:21 +08:00
  • f5566288de Add SetColumn, Changed method Jinzhu 2020-06-30 16:53:54 +08:00
  • 2d048d9ece SingularTable for JoinTable Jinzhu 2020-06-30 07:29:15 +08:00
  • 9bfe306975 Only query with readable fields Jinzhu 2020-06-27 08:04:12 +08:00
  • cb5a35a807 Test group with table name Jinzhu 2020-06-26 08:39:18 +08:00
  • 2476c0fbb4 Set db type after autotime v0.2.18 Jinzhu 2020-06-26 07:26:45 +08:00
  • 4eae3fea41 Test group by with multiple columns Jinzhu 2020-06-25 23:37:49 +08:00
  • f2b49437fb Test set string field's default value to blank string v0.2.17 Jinzhu 2020-06-25 22:48:10 +08:00
  • c5feff1591 Fix go.mod Jinzhu 2020-06-25 08:08:37 +08:00
  • 1b28c187c0 Fix create with default value v0.2.16 Jinzhu 2020-06-25 08:00:10 +08:00
  • fb56fe993a Add default value test Jinzhu 2020-06-25 06:38:07 +08:00
  • 3ec7ed1d51 Upgrade default mysql driver Jinzhu 2020-06-24 20:19:28 +08:00
  • 8ce2dd5548 Update test script Jinzhu 2020-06-24 19:09:19 +08:00
  • 4a01d4c263 Create join table with ReorderModels Jinzhu 2020-06-24 16:43:53 +08:00
  • eac6d1bdb9 issue EricZhou 2020-06-24 16:20:12 +08:00
  • 834cfa2c78 Disable GORM_VERBOSE in github action Jinzhu 2020-06-24 15:04:46 +08:00
  • 67bd842645 Update tests all script Jinzhu 2020-06-24 14:56:04 +08:00
  • 90f817db29 Update issue template Jinzhu 2020-06-24 14:48:44 +08:00
  • 7e1fa4a44d Fix Count after Session v0.2.15 Jinzhu 2020-06-23 22:41:41 +08:00
  • 4201f7bdab Fix create unique index when creating table, close #3081 Jinzhu 2020-06-23 22:14:17 +08:00
  • dd7caa9db0
    add macos and windows for sqlite unit test and use cache for go mod package download (#3079) mojotv 2020-06-23 16:00:04 +08:00
  • 1f3532455a add macos and windows for sqlite unit test and use cache for go mod package download EricZhou 2020-06-23 13:16:16 +08:00
  • b733d16f56
    Create supports Array / ArrayPtr (#3076) Hinagiku Soranoba 2020-06-23 15:38:36 +09:00
  • 4417fb72aa support create using array soranoba 2020-06-23 14:06:44 +09:00
  • ba6e1fdeac add Array / ArrayPtr create tests soranoba 2020-06-23 14:05:50 +09:00
  • 1df757113a initialize plugins map v0.2.14 Jinzhu 2020-06-23 10:36:45 +08:00
  • f4bfc435cc Add register plugin API v0.2.13 Jinzhu 2020-06-23 09:38:51 +08:00
  • e77e7bb842 Fix nested embedded field with pointer, close #3071 Jinzhu 2020-06-23 09:09:46 +08:00
  • 32bd6b3e8f Fix Count with Select Jinzhu 2020-06-23 08:51:01 +08:00
  • c84a8fe571 Switch to github actions Jinzhu 2020-06-22 23:14:17 +08:00
  • 71ae2ddbee Refactor github actions Jinzhu 2020-06-22 22:51:54 +08:00
  • 60d1e68567 Update github action CI Jinzhu 2020-06-22 22:32:12 +08:00
  • 59d7150917 Update README Jinzhu 2020-06-22 20:22:15 +08:00
  • 5d044642d1 Allow DisableForeignKeyConstraintWhenMigrating Jinzhu 2020-06-22 11:04:44 +08:00
  • 7851faa094 Allow close prepared statements, double check before prepare Jinzhu 2020-06-21 18:01:50 +08:00
  • 12b0ba7cc6
    add double check for stmt jianzhiyao 2020-06-21 17:00:45 +08:00
  • d0764bead1 Test migrate with comment and check created constraints v0.2.12 Jinzhu 2020-06-21 13:53:13 +08:00
  • fee1e4aafd Fix create foreign keys for many2many relations v0.2.11 Jinzhu 2020-06-21 10:19:16 +08:00
  • 5883490aa7 Select, Omit, Preload supports clause.Associations v0.2.10 Jinzhu 2020-06-20 17:21:01 +08:00
  • a1e35bdc94 Support merge batch data some having primary values Jinzhu 2020-06-20 10:51:36 +08:00
  • 3d8f6f9cf9 Test GroupConditions Jinzhu 2020-06-20 01:55:30 +08:00
  • 4f19e2a7b3 Test ForeignKeyConstraints Jinzhu 2020-06-20 00:48:15 +08:00
  • d4d339f3b5 Handle data type cases Jinzhu 2020-06-19 22:51:46 +08:00
  • e3292b3b41 Test with latest driver vesion v0.2.9 Jinzhu 2020-06-19 18:44:19 +08:00
  • 7dc255acfe Add SavePoint/RollbackTo/NestedTransaction Jinzhu 2020-06-19 18:30:04 +08:00
  • 2c1b04a2cf Fix failed to create second record in same transaction, close #3060 v0.2.8 Jinzhu 2020-06-19 12:38:03 +08:00
  • 07960fe661 Fix []byte support v0.2.7 Jinzhu 2020-06-18 09:32:31 +08:00
  • 96368eb967 Test embedded struct implements Scan & Value interface Jinzhu 2020-06-18 09:15:23 +08:00
  • 6b2f37189e Fix few cases with postgres Jinzhu 2020-06-18 08:20:41 +08:00
  • ca2c80c8e3
    add githubAction CI for tests (#3057) mojotv 2020-06-17 20:29:37 +08:00