Commit Graph

89 Commits

Author SHA1 Message Date
Jinzhu 1df757113a initialize plugins map 2020-06-23 10:36:45 +08:00
Jinzhu f4bfc435cc Add register plugin API 2020-06-23 09:38:51 +08:00
Jinzhu 5d044642d1 Allow DisableForeignKeyConstraintWhenMigrating 2020-06-22 11:04:44 +08:00
Jinzhu 7851faa094 Allow close prepared statements, double check before prepare 2020-06-21 18:18:23 +08:00
Jinzhu fee1e4aafd Fix create foreign keys for many2many relations 2020-06-21 10:48:23 +08:00
Jinzhu e487f355a0 Add DB method 2020-06-17 19:57:54 +08:00
Jinzhu aaf0725771 Refactor for performance 2020-06-08 17:21:26 +08:00
Jinzhu 1490a062db Refactor codebase and add benchmark test 2020-06-05 23:26:56 +08:00
Jinzhu c8e7878b3e Add PrepareStmt support 2020-06-05 11:40:24 +08:00
Jinzhu 64ed645e4d Returns ping error 2020-06-02 11:09:17 +08:00
Jinzhu e986371a42 Rename package name 2020-06-02 09:18:01 +08:00
Jinzhu 5ecbf25b22 Drop table with CASCADE option 2020-06-02 07:56:53 +08:00
Jinzhu e490e09db5 Add SetupJoinTable support 2020-06-01 23:58:22 +08:00
Jinzhu 4e147e1256 Test SubQuery 2020-06-01 21:26:23 +08:00
Jinzhu befef0c9a9 Improve Hooks 2020-06-01 00:12:20 +08:00
Jinzhu 5457fe88e6 Test Transactions 2020-05-31 18:51:43 +08:00
Jinzhu b3b19a5577 Test Override NowFunc 2020-05-31 11:34:59 +08:00
Jinzhu 24285060d5 Fix RenameColumn for mssql, DropColumn for sqlite 2020-05-31 09:03:51 +08:00
Jinzhu 7b6b9c4d22 Add tests for Columns 2020-05-31 00:42:52 +08:00
Jinzhu 028c9d6e17 Test Updates 2020-05-30 17:01:28 +08:00
Jinzhu d05128be78 OnConflict support for mysql 2020-05-29 22:34:35 +08:00
Jinzhu 91a695893c Test Association For BelongsTo 2020-05-24 18:33:15 +08:00
Jinzhu 7bcd95d4b8 Add save associations for bulk create 2020-04-19 23:11:56 +08:00
Jinzhu 9e8a4db36b Use *gorm.DB to replace gorm.DB 2020-03-10 08:39:33 +08:00
Jinzhu 3aa1891068 Add sync pool 2020-03-09 15:32:55 +08:00
Jinzhu a145d7e019 Refactor structure 2020-03-09 14:25:50 +08:00
Jinzhu 078ba75b9c Add QuoteTo method 2020-03-08 23:30:16 +08:00
Jinzhu 215f5e7765 Add Raw, Row, Rows 2020-02-22 19:41:01 +08:00
Jinzhu 0160bab7dc Add clause tests 2020-02-05 18:28:58 +08:00
Jinzhu 46b1c85f88 Add more clauses 2020-02-04 08:56:15 +08:00
Jinzhu d52ee0aa44 Work on create callbacks 2020-02-03 10:40:03 +08:00
Jinzhu 728c0d4470 Add callbacks 2020-02-02 20:05:10 +08:00
Jinzhu d833efe8b9 Work on clauses 2020-02-02 19:11:17 +08:00
Jinzhu 8cb15cadde Improve test structure 2020-02-02 08:35:01 +08:00
Jinzhu bc68fde6aa Implement naming strategy 2020-01-31 14:17:02 +08:00
Jinzhu 9d5b9834d9 Refactor builder 2020-01-30 19:47:00 +08:00
Jinzhu 85bfd175c6 Implement build conditions 2020-01-30 03:03:06 +08:00
Jinzhu b9cce2be6a Add clause, DB API, model definition 2020-01-29 19:22:44 +08:00
Jinzhu 8eae7e4ab9 Add migrator 2020-01-28 23:01:35 +08:00