Commit Graph

12 Commits

Author SHA1 Message Date
Jinzhu 0e2cd4475f Only load Fields when defined preload 2015-04-16 18:42:35 +08:00
Jinzhu 6e5d46bf37 Refactor Search API 2015-03-12 14:47:07 +08:00
Jinzhu 49454839bd Support Multi primary keys 2015-03-11 11:28:30 +08:00
Jinzhu b3d6025365 Fix preload error when result is empty 2015-03-02 10:52:18 +08:00
Jinzhu 5586d04999 Uniq foreign key for Preload 2015-02-24 15:50:02 +08:00
Jinzhu 0b32041135 Review and Refactor 2015-02-17 22:55:14 +08:00
Jinzhu 3a73206010 Refactor model struct 2015-02-16 16:35:26 +08:00
Jinzhu b3b87d9c45 Fix Preload belongs to relations has same records 2015-02-12 13:50:16 +08:00
Jinzhu 24e0de116a Add inline condition support for Preload 2015-02-11 19:08:42 +08:00
Jinzhu aac52fdcf8 Fix Preload with slice of pointer 2015-02-11 17:58:19 +08:00
Jinzhu f97e2c088e Make Preload works with has_one, has_many, belongs_to relations 2015-02-11 17:17:27 +08:00
Jinzhu dd635a17c2 Preload belongs_to, has_one, has_many relations 2015-02-11 13:43:53 +08:00