Commit Graph

193 Commits

Author SHA1 Message Date
Jinzhu cc03f438ef Add Update, Updates back 2013-11-16 12:19:35 +08:00
Jinzhu ea67d1d377 Move non-public DB method to private.go 2013-11-16 11:41:31 +08:00
Jinzhu 3cfa19b761 Move all chain method to main.go 2013-11-16 11:36:30 +08:00
Jinzhu 85109e104e Rename some interfaces 2013-11-16 08:15:21 +08:00
Jinzhu 2d85c30fde Add search condition 2013-11-15 22:29:42 +08:00
Jinzhu 5ded927a9a change method NewDialect to New 2013-11-15 19:43:45 +08:00
Jinzhu c1c13129f1 Finish dialects 2013-11-14 19:09:27 +08:00
Jinzhu ac4b2e2a42 Initalize dialects 2013-11-14 17:35:23 +08:00
Jinzhu c03999a44e Add Tag Support 2013-11-14 00:03:31 +08:00
Jinzhu 32562b5537 Better Log support 2013-11-11 15:48:31 +08:00
Jinzhu 1c49c4ef85 Don't copy unnecessary variables 2013-11-11 13:40:35 +08:00
Jinzhu d550315548 Add Transaction Support 2013-11-11 13:16:24 +08:00
Jinzhu 9bc11d6637 Support Logger 2013-11-11 11:11:49 +08:00
Jinzhu 9e762a9a30 Try to add logger 2013-11-11 09:10:16 +08:00
Jinzhu 874856a592 Cleanup unused code 2013-11-10 23:07:09 +08:00
Jinzhu 0cb1c1ba32 Remove unnecessary field 2013-11-10 22:29:53 +08:00
Jinzhu 5da8461161 auto migrate 2013-11-07 09:09:54 +08:00
Jinzhu da6ffd52dd Add Method SingularTable 2013-11-06 21:43:41 +08:00
Jinzhu e78c10690b Add Last Method, And update README for method First, Find 2013-11-04 17:58:56 +08:00
Jinzhu 49cfb0d4a0 Add DropTable 2013-11-01 15:01:39 +08:00
Jinzhu 724ffec683 Add Method Not 2013-10-31 17:31:00 +08:00
Jinzhu 549c7450ea Make it easy when only change one field with Attr, Assign 2013-10-31 12:59:04 +08:00
Jinzhu 688e992266 Add method Assign 2013-10-31 08:15:19 +08:00
Jinzhu 0a47d75870 Add support for Attrs 2013-10-30 15:21:58 +08:00
Jinzhu 94bd2eb8d5 Add Debug Mode 2013-10-29 19:39:59 +08:00
Jinzhu 2e84f3b216 Initialize method FirstOrInit, FirstOrCreate 2013-10-29 18:02:28 +08:00
Jinzhu 7e5dc40f6f Don't do real delete when deleted_at column exist 2013-10-29 09:01:48 +08:00
Jinzhu bc785a9173 Cleanup code 2013-10-29 08:41:07 +08:00
Jinzhu 2a20e551ed Possible to specify table name 2013-10-28 20:27:25 +08:00
Jinzhu 2388dacfe3 Hidden unnecessary public fields 2013-10-28 12:52:06 +08:00
Jinzhu 5de6416354 Clean up dependencies 2013-10-28 12:46:50 +08:00
Jinzhu c412729570 Update README 2013-10-28 10:10:02 +08:00
Jinzhu f74c9015a1 Inline which condition for first/find 2013-10-27 20:54:56 +08:00
Jinzhu f892a52cad Refact 2013-10-27 19:47:15 +08:00
Jinzhu 244b27a6a0 Refact main.go 2013-10-27 08:06:01 +08:00
Jinzhu 9d2f7650be Refact tests 2013-10-27 07:38:08 +08:00
Jinzhu 96128cdec3 Fix where chain 2013-10-27 02:53:31 +08:00
Jinzhu 3c68efc94a Support create table with struct 2013-10-26 17:30:34 +08:00
Jinzhu 70315e8fed Create table method 2013-10-26 15:47:30 +08:00
Jinzhu 540345f552 Add more dummy code for orm.go 2013-10-26 07:14:57 +08:00
Jinzhu 7f9d486d5a Initialize the tests 2013-10-25 22:31:56 +08:00
Jinzhu 7f73480a35 Build basic architecture 2013-10-25 18:31:10 +08:00
Jinzhu 2d6fa2c96d init files 2013-10-25 18:04:48 +08:00