Jinzhu
|
c1c13129f1
|
Finish dialects
|
2013-11-14 19:09:27 +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
|
b22289b249
|
Clean up more code
|
2013-11-11 22:58:12 +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
|
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
|
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
|
21713a5246
|
Update sql validator for Count()
|
2013-11-10 09:57:56 +08:00 |
Jinzhu
|
562bca71e4
|
Try to add support for NullInt64
|
2013-11-10 08:14:41 +08:00 |
Jinzhu
|
9b27735464
|
Add AutoMigrate Support
|
2013-11-07 11:42:36 +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
|
98869cb124
|
Add Method Related to find associations
|
2013-11-05 07:46: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
|
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
|
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
|
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
|
1ecf9d76be
|
Make FirstOrInit FirstOrCreate works!
|
2013-10-29 20:20:25 +08:00 |
Jinzhu
|
94bd2eb8d5
|
Add Debug Mode
|
2013-10-29 19:39:59 +08:00 |
Jinzhu
|
6ac0012879
|
Try to implement the FirstOrInit method
|
2013-10-29 19:05:54 +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
|
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
|
592df904e2
|
Add tests to make sure no unexpected things happen with invalid SQL
|
2013-10-28 12:43:02 +08:00 |
Jinzhu
|
cee203b0d3
|
Update README
|
2013-10-27 22:31:17 +08:00 |
Jinzhu
|
f74c9015a1
|
Inline which condition for first/find
|
2013-10-27 20:54:56 +08:00 |
Jinzhu
|
ec49f57394
|
Make Count works
|
2013-10-27 20:07:13 +08:00 |
Jinzhu
|
f892a52cad
|
Refact
|
2013-10-27 19:47:15 +08:00 |