Jinzhu
|
da6ffd52dd
|
Add Method SingularTable
|
2013-11-06 21:43:41 +08:00 |
Jinzhu
|
2400a46ff7
|
Set associated struct's value after save even they are not pointer
|
2013-11-06 08:03:39 +08:00 |
Jinzhu
|
619ae6549d
|
Fix error when handle relations
|
2013-11-05 22:34:49 +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
|
215b736fe1
|
Ignore unexported field
|
2013-11-04 07:58:40 +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
|
aa352d405b
|
Make save sub structs works
|
2013-11-02 20:05:05 +08:00 |
Jinzhu
|
5b671a84b6
|
Error message when set primary key
|
2013-11-02 18:25:01 +08:00 |
Jinzhu
|
2d40175651
|
Puts errors for ptr values
|
2013-11-02 18:03:04 +08:00 |
Jinzhu
|
b9f4a59772
|
Save substructs successfully
|
2013-11-02 17:31:55 +08:00 |
Jinzhu
|
8c36a5d193
|
Cache fields
|
2013-11-02 15:17:11 +08:00 |
Jinzhu
|
28b49124eb
|
Handle SubStruct
|
2013-11-02 14:29:39 +08:00 |
Jinzhu
|
49cfb0d4a0
|
Add DropTable
|
2013-11-01 15:01:39 +08:00 |
Jinzhu
|
600d8e7277
|
Improve compatibility when set model
|
2013-11-01 11:43:41 +08:00 |
Jinzhu
|
32dcacc70b
|
Convert str to int if it is when set field
|
2013-11-01 11:17:19 +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
|
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
|
a63b3247f6
|
Make Update, Updates smart, Only run sql when there are really some new things and reflect changes back to the struct
|
2013-10-30 23:19:00 +08:00 |
Jinzhu
|
721090d39a
|
Document Attrs in README
|
2013-10-30 15:40:18 +08:00 |
Jinzhu
|
0a47d75870
|
Add support for Attrs
|
2013-10-30 15:21:58 +08:00 |
Jinzhu
|
9aacae473c
|
Add tests for plain text time
|
2013-10-30 08:57:48 +08:00 |
Jinzhu
|
db7fc2d53a
|
Refact code to make it more strong
|
2013-10-29 22:03:11 +08:00 |
Jinzhu
|
e250637d12
|
Document FirstOrInit, FirstOrCreate
|
2013-10-29 20:32:27 +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
|
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
|
fd3ed7ffaf
|
Should fill data to smaller struct correctly
|
2013-10-29 16:11:51 +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
|
68d3d134e6
|
Yay, Soft Delete works
|
2013-10-29 10:19:20 +08:00 |
Jinzhu
|
7e5dc40f6f
|
Don't do real delete when deleted_at column exist
|
2013-10-29 09:01:48 +08:00 |