Commit Graph

  • e31752757a Added missing field name quoting for ALTER TABLE' and CREATE INDEX' statements. Jay Taylor 2015-06-29 15:35:50 -07:00
  • 308c96ee4c Add PrimaryFields Jinzhu 2015-06-29 18:04:15 +08:00
  • 6d4e086686 Merge 75c2f14933c785151f9c4d097232d8796498440c into d35a44c5b123c3a44c95beeff5d0f1f8bce6ed3b Liao Qiang 2015-06-24 06:18:18 +00:00
  • d35a44c5b1 Merge pull request #541 from rohanthewiz/master Jinzhu 2015-06-24 14:18:17 +08:00
  • 3490fdf366 Merge branch 'jaytaylor-upstream' Jinzhu 2015-06-24 14:10:06 +08:00
  • 2a1d64c3e0 Return cloned db instance for AddForeignKey Jinzhu 2015-06-24 14:09:59 +08:00
  • bdb6fc55e8 Overwrite slice results with Find Jinzhu 2015-06-24 13:56:30 +08:00
  • 2d802c3445 Overwrite slice results with Find Jinzhu 2015-06-24 13:56:30 +08:00
  • c2c1dd1fc8 Fix errors being inaccessible due to errors being set on different *DB instance than what is returned. Jay Taylor 2015-06-23 15:27:21 -07:00
  • dbedca4e5f Don't run auto migrate if join table doesn't exist Jinzhu 2015-06-23 14:19:59 +08:00
  • 7e587724e8 Remove dummy code used for qor Jinzhu 2015-06-23 11:31:56 +08:00
  • d75612b86f Update JoinTableHandler API Jinzhu 2015-06-19 11:32:11 +08:00
  • 7e8622f671 Don't need to delete join table records if no record added Jinzhu 2015-06-18 18:23:11 +08:00
  • cad0a42875 Get correct quoted table name Jinzhu 2015-06-18 15:39:21 +08:00
  • ded91a21fe Update README with clear explanation of transaction db handle Rohan Allison 2015-06-16 23:28:54 -05:00
  • 3d9bc937c1 Merge 64f61aaaf99af2b8e8623fe9ac17f1b44a20bc70 into 3c28ceea6685339ae6e03d0ad0c905d7610fc034 Rohan 2015-06-15 19:46:18 +00:00
  • 64f61aaaf9 Update README for revertable transactions Rohan Allison 2015-06-15 14:37:58 -05:00
  • 3c28ceea66 Merge pull request #531 from cortex/patch-1 Jinzhu 2015-06-15 20:52:06 +08:00
  • b110fed642 Merge pull request #527 from yanfali/master Jinzhu 2015-06-15 20:44:21 +08:00
  • 75c2f14933 insert_id first support auto_increment field liaoqiang 2015-06-15 18:29:23 +08:00
  • 5808585d18 Adds support for "associationforeignkey" tag in the has_one and belongs_to cases to handle when the foreign key is not the primary key. Crystalin 2015-06-15 11:17:04 +02:00
  • 0383a0d702 Merge d65e8b3546b4c36dfa069c2890ec650099cfb631 into cde05781a05feb80def1aa46edac24a57ec93b30 Jay Taylor 2015-06-11 20:55:16 +00:00
  • d65e8b3546 Merge remote-tracking branch 'upstream/master' into jay/soft-delete-alive Jay Taylor 2015-06-11 13:54:56 -07:00
  • 14dde4b9f2 Correct error message Joakim Lundborg 2015-06-11 16:14:36 +02:00
  • 5b282263d8 Update README.md with Transaction example Yan-Fa Li 2015-06-09 14:51:46 -07:00
  • cde05781a0 Merge pull request #518 from bojan-embroker/master Jinzhu 2015-06-08 09:45:09 +08:00
  • 8320149214 Merge 75ec40de67154d1354e8237c50467cbe0f33a154 into b3d62fafc3d98be04630e76a858e0e3e819bec6a CodeRushing 2015-06-08 01:30:39 +00:00
  • b3d62fafc3 Merge pull request #520 from crystalin/master Jinzhu 2015-06-08 09:30:37 +08:00
  • f05a6b3794 Support for preload of Struct Ptr crystalin 2015-06-05 12:54:52 +02:00
  • 1f7073945c Merge 0b21fdde50f974580c6c19faeae898bab3cf909a into 0b8c9f29a9e28708c17e0ef1aed71487e8bd356c André Martins 2015-06-04 20:55:15 +00:00
  • d9faa4949c Fix Create error reporting. Bojan Petrovic 2015-06-04 14:23:57 +02:00
  • 94f56e646b Fix Create when dialect does not support last inserted id Bojan Petrovic 2015-06-04 13:47:25 +02:00
  • 75ec40de67 insert_id only support auto_increment field liaoqiang 2015-06-04 16:39:07 +08:00
  • 0b8c9f29a9 Find Field by db name also Jinzhu 2015-06-04 12:10:09 +08:00
  • 3d20aafa40 Merge pull request #514 from smirzaei/master Jinzhu 2015-06-03 11:17:05 +08:00
  • 65b42ad6f3 Fixed the "Query callbacks" URL. Soroush Mirzaei 2015-06-01 14:20:23 +04:30
  • 4fd6e62a02 Add unsigned support for mysql Jinzhu 2015-06-01 14:02:15 +08:00
  • 58f379b098 Add auto migration Jinzhu 2015-06-01 11:17:51 +08:00
  • 331d8ceabd Don't overwrite primary key if already it is already exist Jinzhu 2015-06-01 11:04:11 +08:00
  • b96ca76e59 Set table name handler Jinzhu 2015-05-27 12:19:48 +08:00
  • 4e4b2dfdd4 Fixed behaviour of "drop_unique_index" Dmitry Yu Okunev 2015-05-25 18:19:56 +03:00
  • 4019c14651 Added support of field gorm options drop_primary_keys and drop_unique_index Dmitry Yu Okunev 2015-05-22 22:02:53 +03:00
  • cbebcf6d6f Quote db name when create primary keys Jinzhu 2015-05-22 11:13:14 +08:00
  • cb76704ab6 Merge 81ceeb3e9f3bfe14457ccd9f63c1fd4867e15b97 into c2dda88f9a8a0b5c73733e87689dc94cf2818fa2 Okunev Yu Dmitry 2015-05-21 09:31:11 +00:00
  • 81ceeb3e9f
    Rolled back the behaviour of tag "embedded" Dmitry Yu Okunev 2015-05-21 12:30:16 +03:00
  • 240f60e864 `Alive' column soft-deletion support. Jay Taylor 2015-05-20 13:20:30 -07:00
  • 18616d53c4 Fixed an one more: panic: reflect: call of reflect.Value.Field on slice Value Dmitry Yu Okunev 2015-05-19 12:47:28 +03:00
  • c2dda88f9a Use Get to replace InstanceGet Jinzhu 2015-05-19 16:58:33 +08:00
  • fcbd32e581
    Fixed error: panic: reflect: call of reflect.Value.Field on slice Value Dmitry Yu Okunev 2015-05-19 11:44:38 +03:00
  • 9d2c0adaa1
    Added support of Find() to slices of structs with embedded interface fields Dmitry Yu Okunev 2015-05-19 10:08:15 +03:00
  • dc55c59b84 Fix use SQL as table name Jinzhu 2015-05-19 10:43:32 +08:00
  • 6c805b6a0e
    Added support of embedded interface fields Dmitry Yu Okunev 2015-05-18 11:06:05 +03:00
  • 0b21fdde50 Implementing crate dialect André Martins 2015-05-14 18:48:29 +01:00
  • 371cd41204 Merge pull request #488 from tuvistavie/master Jinzhu 2015-05-14 11:42:29 +08:00
  • 2adfd70bb5 Add examples for join. Daniel Perez 2015-05-13 14:20:20 +09:00
  • 5af077cd2d Handle []string for Select Jinzhu 2015-05-11 15:17:35 +08:00
  • edecbde19d Merge pull request #479 from nguyendangminh/patch-1 Jinzhu 2015-05-11 15:02:08 +08:00
  • 826e384f32 Merge pull request #483 from xconstruct/fix_ignore_where Jinzhu 2015-05-11 15:01:39 +08:00
  • a0c527f1cc Fix including ignored field in Where condition Constantin Schomburg 2015-05-09 13:12:13 +02:00
  • 51c6ee46c1 Disable gorm log. leonardaustin 2015-05-07 14:20:45 +01:00
  • a4a29d6025 Update README.md Nguyen Dang Minh 2015-05-02 16:19:54 +07:00
  • 25772352c2 Merge pull request #468 from nicholasf/master Jinzhu 2015-05-02 10:44:26 +08:00
  • 94643a48c1 Merge pull request #476 from Femaref/quote_columns Jinzhu 2015-05-02 10:43:18 +08:00
  • fa696b0e2f Quote the primary column name when doing queries Femaref 2015-04-26 16:34:52 +02:00
  • a9aef2dd90 Simpler (and correct) example for showing how to declare foreign keys. nicholasf 2015-04-22 12:54:19 -07:00
  • 6175dd7dd5 Merge a5ddc56b7daec62fb07ec1a4c58dd34c3d137c84 into 3c2915a9dfaaeaeb1e049436ae9291f5e84c95fa Leonard Austin 2015-04-22 07:39:52 +00:00
  • 3c2915a9df Add Nested Preloading to README Jinzhu 2015-04-22 15:38:22 +08:00
  • 7693c093a9 Refactor Preload Jinzhu 2015-04-22 15:36:10 +08:00
  • 7ef8b06cb4 Fix tests with mysql Jinzhu 2015-04-22 14:28:50 +08:00
  • 9e9367e815 refactor preload and its tests bom_d_van 2015-04-21 16:51:52 +08:00
  • 6d58dc9f4e support nested preloading bom_d_van 2015-04-21 15:00:36 +08:00
  • 055bf79f8b Don't call method if value is nil Jinzhu 2015-04-21 11:24:48 +08:00
  • a5ddc56b7d import sync Leonard Austin 2015-04-20 10:59:07 +01:00
  • bdea0d3a00 mutex Leonard Austin 2015-04-20 10:58:42 +01:00
  • ef4299b398 Add RowQuery callback Jinzhu 2015-04-17 18:27:20 +08:00
  • 4fbc9d2a8f Remove foundationdb from tests all script because it is not downloadable from offical site Jinzhu 2015-04-17 14:52:59 +08:00
  • 0e2cd4475f Only load Fields when defined preload Jinzhu 2015-04-16 18:39:30 +08:00
  • e3d70302f3 Merge pull request #457 from li3p/master Jinzhu 2015-04-16 18:41:37 +08:00
  • 681aa90995 simplify clone bom_d_van 2015-04-16 17:36:55 +08:00
  • 5aca010140 ignore empty dialect in TestManyToManyWithMultiPrimaryKeys bom_d_van 2015-04-16 17:36:22 +08:00
  • f9bd6bcc64 look up the Field.Name at Scope.SetColumn li3p 2015-04-16 14:28:55 +08:00
  • 7966cde514 look up the Field.Name at Scope.SetColumn li3p 2015-04-16 14:08:13 +08:00
  • c2f7bf5323 增加了连接缓存,参考beego orm lovemu 2015-04-15 12:17:42 +08:00
  • d61af54b96 Add default model struct Jinzhu 2015-04-13 10:09:00 +08:00
  • 1eb1ed091f Test ManyToMany relations with multi primary keys Jinzhu 2015-04-10 16:55:53 +08:00
  • 67266ebdb3 Fix create join table with multi primary keys Jinzhu 2015-04-09 15:51:47 +08:00
  • 33da3043c2 Merge pull request #2 from jinzhu/master Vincenzo Prignano 2015-04-08 13:00:40 +01:00
  • e2eef50fb4 Add SetTableNameHandler Jinzhu 2015-04-08 14:00:29 +08:00
  • b9a39be9c5 Add Tabler Jinzhu 2015-04-08 11:36:01 +08:00
  • 2123f31d13 Merge pull request #442 from etcinit/docs Jinzhu 2015-04-04 20:25:57 +08:00
  • 640700d391 Add an example with time Eduardo Trujillo 2015-04-03 23:08:35 -04:00
  • a952601f21 Fix query related resources with customized column name Jinzhu 2015-04-03 16:32:53 +08:00
  • 4e39820d9a Merge pull request #1 from jinzhu/master Vincenzo Prignano 2015-03-31 22:30:49 +01:00
  • 03966a1e20 Merge pull request #436 from jaytaylor/master Jinzhu 2015-03-30 14:55:50 +08:00
  • 14620058ed Merge pull request #438 from jaytaylor/jay/update-columns-skip-associations Jinzhu 2015-03-30 14:44:41 +08:00
  • c1969b5c1f Merge pull request #439 from gwTumm/patch-1 Jinzhu 2015-03-30 14:23:27 +08:00
  • 3bd7cab8d6 Fix type of OwnerType in polymorphism example Tim Kluge 2015-03-29 20:47:35 +02:00
  • ab48cd222a UpdateColumns(...) no longer triggers save of associated records. Jay Taylor 2015-03-28 14:15:12 -07:00
  • dcc06e22f7 FoundationDB dialect layer and compatibility updates. Jay Taylor 2015-03-24 10:33:51 -07:00
  • 8389d92f78 Futher clarified error messaging for invalid `plucks'. Jay Taylor 2015-03-23 15:11:41 -07:00