Commit Graph

179 Commits

Author SHA1 Message Date
Jinzhu 094a546815 Update README 2013-11-17 12:02:22 +08:00
Jinzhu 9a1c0d956d cache snake, upper values 2013-11-17 08:28:30 +08:00
Jinzhu 8fd8604a70 Support use variable to keep query chain 2013-11-16 22:42:00 +08:00
Jinzhu 52fd87c57b Define some error codes 2013-11-15 18:36:39 +08:00
Jinzhu 5a02c2ec27 Update README 2013-11-15 17:37:21 +08:00
Jinzhu 4e1e2a0fbb Update README 2013-11-15 17:27:16 +08:00
Jinzhu c1c13129f1 Finish dialects 2013-11-14 19:09:27 +08:00
Jinzhu c03999a44e Add Tag Support 2013-11-14 00:03:31 +08:00
Jinzhu 6b31a9a41f Use MIT License 2013-11-12 07:14:28 +08:00
Jinzhu 788da015d1 Clean up code 2013-11-11 21:57:29 +08:00
Jinzhu 23db784911 Update TODO 2013-11-11 19:46:04 +08:00
Jinzhu aaa73fe21d Document transaction for callbacks 2013-11-11 19:38:52 +08:00
Jinzhu 3d2128e743 Update README 2013-11-11 17:51:39 +08:00
Jinzhu c097a1919c Document Logger 2013-11-11 17:50:27 +08:00
Jinzhu d550315548 Add Transaction Support 2013-11-11 13:16:24 +08:00
Jinzhu 9e762a9a30 Try to add logger 2013-11-11 09:10:16 +08:00
Jinzhu f82d036f14 Better support for sql.Scanner 2013-11-10 19:38:28 +08:00
Jinzhu 272ad45943 update README 2013-11-07 12:23:45 +08:00
Jinzhu c192b86d9e Update README 2013-11-07 12:12:25 +08:00
Jinzhu 9b27735464 Add AutoMigrate Support 2013-11-07 11:42:36 +08:00
Jinzhu 6d7d892af7 Update README 2013-11-06 22:20:26 +08:00
Jinzhu c842d46b66 Add Support for TableName, used to specify struct's table name 2013-11-06 22:13:18 +08:00
Jinzhu da6ffd52dd Add Method SingularTable 2013-11-06 21:43:41 +08:00
Jinzhu 2f5991d088 Update Document For Related() 2013-11-05 08:08:42 +08:00
Jinzhu 98869cb124 Add Method Related to find associations 2013-11-05 07:46:06 +08:00
Jinzhu 0b22775dd7 Add support for sqlite3 2013-11-04 20:52:06 +08:00
Jinzhu 7a23685e0b Test with mysql 2013-11-04 20:32:46 +08:00
Jinzhu e78c10690b Add Last Method, And update README for method First, Find 2013-11-04 17:58:56 +08:00
Jinzhu 0c4e43cd7a Don't quote table names 2013-11-03 21:19:38 +08:00
Jinzhu 63a9e5e3ae Update README 2013-11-03 11:38:53 +08:00
Jinzhu 92f790c463 Update README 2013-11-03 11:32:25 +08:00
Jinzhu 8e3b1fd206 Update README 2013-11-03 10:49:09 +08:00
Jinzhu bd54a03505 Document SubStruct 2013-11-03 10:31:36 +08:00
Jinzhu e2927e1ec5 README 2013-11-03 10:18:16 +08:00
Jinzhu a135087af4 Better README 2013-11-03 10:09:56 +08:00
Jinzhu b4981259de Update README 2013-11-02 22:58:15 +08:00
Jinzhu 49cfb0d4a0 Add DropTable 2013-11-01 15:01:39 +08:00
Jinzhu c387c7d9ba Polish The Not Method 2013-10-31 22:49:48 +08:00
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