Commit Graph

91 Commits

Author SHA1 Message Date
Jinzhu 8a030c99eb Document Method Not 2013-10-31 18:12:18 +08:00
Jinzhu 549c7450ea Make it easy when only change one field with Attr, Assign 2013-10-31 12:59:04 +08:00
Jinzhu 0e692a13b1 Document Method Assign 2013-10-31 09:34:27 +08:00
Jinzhu 31b4baba6f Make Updates accept struct other than map[string]interface{} 2013-10-31 08:29:57 +08:00
Jinzhu 721090d39a Document Attrs in README 2013-10-30 15:40:18 +08:00
Jinzhu e250637d12 Document FirstOrInit, FirstOrCreate 2013-10-29 20:32:27 +08:00
Jinzhu 8a81711e41 Possible to search with interface map 2013-10-29 17:54:22 +08:00
Jinzhu c74af2210d Search with struct 2013-10-29 17:37:45 +08:00
Jinzhu a11c9f9b1b Query with primary key map 2013-10-29 15:37:58 +08:00
Jinzhu 44b64ff74f Document Soft Delete and Unscoped in README 2013-10-29 11:01:51 +08:00
Jinzhu bc785a9173 Cleanup code 2013-10-29 08:41:07 +08:00
Jinzhu 84b280c0ff Yay, Add Update, Updates Support 2013-10-28 21:52:22 +08:00
Jinzhu 2a20e551ed Possible to specify table name 2013-10-28 20:27:25 +08:00
Jinzhu 0906333291 Document error handling in README 2013-10-28 11:24:51 +08:00
Jinzhu c412729570 Update README 2013-10-28 10:10:02 +08:00
Jinzhu a81b9f3950 Update README 2013-10-28 09:18:34 +08:00
Jinzhu 7e68ad9773 Better README 2013-10-28 09:10:35 +08:00
Jinzhu 692b08a7be Update README 2013-10-28 08:08:45 +08:00
Jinzhu 66054f0957 Update README 2013-10-27 22:36:43 +08:00
Jinzhu cee203b0d3 Update README 2013-10-27 22:31:17 +08:00
Jinzhu c6638959cd Update README 2013-10-27 21:37:31 +08:00
Jinzhu f74c9015a1 Inline which condition for first/find 2013-10-27 20:54:56 +08:00
Jinzhu f9658716e4 Fix error for chain query 2013-10-27 16:47:02 +08:00
Jinzhu 2600e1099e Add tests for callbacks 2013-10-27 16:08:07 +08:00
Jinzhu 97f234e481 yay, created_at, updated_at works 2013-10-27 14:34:34 +08:00
Jinzhu c3950eef38 orm.Errors to hold all errors happened, orm.Error store the last error 2013-10-27 13:37:23 +08:00
Jinzhu ea4dee3ba8 Remove method Not for less confuse 2013-10-27 12:33:38 +08:00
Jinzhu 44c53f6dd5 Refact where method 2013-10-27 12:21:44 +08:00
Jinzhu 7948705181 Yay, Offset works 2013-10-27 11:44:47 +08:00
Jinzhu bba92226bd Yay, order works 2013-10-27 11:21:33 +08:00
Jinzhu dd719e4512 Support select 2013-10-27 09:50:11 +08:00
Jinzhu 9d2f7650be Refact tests 2013-10-27 07:38:08 +08:00
Jinzhu aab4d773e4 Where In support more data types with reflect 2013-10-27 02:53:32 +08:00
Jinzhu 4587a8a686 yay, where in works 2013-10-27 02:53:31 +08:00
Jinzhu 09b6fc3ab0 Fix some bugs about Update and Delete 2013-10-26 23:33:04 +08:00
Jinzhu f4f7e44199 yay, update works 2013-10-26 21:37:42 +08:00
Jinzhu cef81cba11 Fill up id after create record 2013-10-26 20:26:06 +08:00
Jinzhu 3c68efc94a Support create table with struct 2013-10-26 17:30:34 +08:00
Jinzhu 1ddc8e3984 Update README 2013-10-26 15:18:44 +08:00
Jinzhu fb3da1f963 Add whereSql for orm object 2013-10-26 14:10:47 +08:00
Jinzhu 69d8c85375 Initialize with README 2013-10-25 16:24:32 +08:00