Commit Graph

1729 Commits

Author SHA1 Message Date
Jinzhu b3db0b2959 Remove Chain.go 2013-11-16 11:37:10 +08:00
Jinzhu 3cfa19b761 Move all chain method to main.go 2013-11-16 11:36:30 +08:00
Jinzhu 7912631be7 Make clone search conditions works 2013-11-16 09:12:22 +08:00
Jinzhu 2b4a4a06f0 Update search.go 2013-11-16 08:22:04 +08:00
Jinzhu 85109e104e Rename some interfaces 2013-11-16 08:15:21 +08:00
Jinzhu c9d5667ff0 Merge branch 'master' into v2 2013-11-16 07:34:17 +08:00
Jinzhu abdf59f46d Add blob for Sqlite3 2013-11-16 07:34:01 +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 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 e0b90d9770 Remove unnecessary exported method 2013-11-15 13:30:31 +08:00
Jinzhu a343223ac5 Fix Benchmark Tests 2013-11-15 12:41:32 +08:00
Jinzhu 2d34ecd6a9 Refact Code 2013-11-15 11:36:27 +08:00
Jinzhu c354b0fb06 Refact field struct 2013-11-14 22:12:32 +08:00
Jinzhu e4612bde9c Separate Field Struct 2013-11-14 21:26:02 +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 84646b8db9 Add method UpdateColumn, DropColumn, AddIndex, RemoveIndex. Will document it to README when get a better implementation to fix known issues 2013-11-14 10:30:32 +08:00
Jinzhu c03999a44e Add Tag Support 2013-11-14 00:03:31 +08:00
Jinzhu 5341a5ed43 clean up code 2013-11-12 21:04:48 +08:00
Jinzhu 6b31a9a41f Use MIT License 2013-11-12 07:14:28 +08:00
Jinzhu b22289b249 Clean up more code 2013-11-11 22:58:12 +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 ce91468922 Make Save, Delete, Updates be executed in transaction to keep data consistency 2013-11-11 18:40:02 +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 f2c7beb19f Better default logger 2013-11-11 17:16:15 +08:00
Jinzhu 32562b5537 Better Log support 2013-11-11 15:48:31 +08:00
Jinzhu 0327deec14 Cleanup some codes 2013-11-11 13:53:04 +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 50a1b6e3e5 show sql query log 2013-11-11 11:59:15 +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 f82d036f14 Better support for sql.Scanner 2013-11-10 19:38:28 +08:00
Jinzhu 8e0b125cb1 Support sql.Scanner 2013-11-10 18:33:37 +08:00
Jinzhu dc15849313 Don't suppose id's value as int 2013-11-10 10:09:57 +08:00
Jinzhu 21713a5246 Update sql validator for Count() 2013-11-10 09:57:56 +08:00
Jinzhu 328e9401a0 Handle sql.NullValues in search conditions 2013-11-10 09:41:39 +08:00
Jinzhu 8d97fdb172 Support NullFloat64, NullInt64, NullBool, NullString 2013-11-10 08:57:11 +08:00
Jinzhu 562bca71e4 Try to add support for NullInt64 2013-11-10 08:14:41 +08:00
Jinzhu 99b87315c4 Add Benchmark 2013-11-08 09:21:51 +08:00
Jinzhu 913757c103 Ignore those fields don't have valid sql type when auto migrate 2013-11-07 13:21:19 +08:00
Jinzhu 272ad45943 update README 2013-11-07 12:23:45 +08:00