Jinzhu
|
2d34ecd6a9
|
Refact Code
|
2013-11-15 11:36:27 +08:00 |
Jinzhu
|
f892a52cad
|
Refact
|
2013-10-27 19:47:15 +08:00 |
Jinzhu
|
2600e1099e
|
Add tests for callbacks
|
2013-10-27 16:08:07 +08:00 |
Jinzhu
|
c5b0908b22
|
Yay, callbacks works
|
2013-10-27 15:24:01 +08:00 |
Jinzhu
|
b551fee276
|
Add callbacks support
|
2013-10-27 14:51:23 +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
|
2a08333bf6
|
Yay, Or works
|
2013-10-27 12:31:51 +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
|
32a996f738
|
Yay, Limit works
|
2013-10-27 11:38:05 +08:00 |
Jinzhu
|
bba92226bd
|
Yay, order works
|
2013-10-27 11:21:33 +08:00 |
Jinzhu
|
6511cad317
|
Make pluck works
|
2013-10-27 10:28:47 +08:00 |
Jinzhu
|
80a7e6296d
|
Add method to do basic check for sql valid or not
|
2013-10-27 10:17:11 +08:00 |
Jinzhu
|
dd719e4512
|
Support select
|
2013-10-27 09:50:11 +08:00 |
Jinzhu
|
334d05645f
|
Add Pluck
|
2013-10-27 09:32:49 +08:00 |
Jinzhu
|
284cf3f649
|
Change internal API
|
2013-10-27 07:52:04 +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
|
d18203ee62
|
Add some tests for time
|
2013-10-27 02:53:31 +08:00 |
Jinzhu
|
96128cdec3
|
Fix where chain
|
2013-10-27 02:53:31 +08:00 |
Jinzhu
|
97fc5878e9
|
Fix batch find
|
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
|
3d50000094
|
Add some delete tests
|
2013-10-26 21:51:44 +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
|
5cfad9d35b
|
Add model.go file
|
2013-10-26 16:29:53 +08:00 |
Jinzhu
|
70315e8fed
|
Create table method
|
2013-10-26 15:47:30 +08:00 |
Jinzhu
|
03f7bbfe74
|
When search one record, should return error when nothing found
|
2013-10-26 15:02:14 +08:00 |
Jinzhu
|
9ef4a2669c
|
Add some utils methods stolen from hood
|
2013-10-26 14:25:03 +08:00 |
Jinzhu
|
fb3da1f963
|
Add whereSql for orm object
|
2013-10-26 14:10:47 +08:00 |
Jinzhu
|
3e7e110590
|
Can't believe this, Find works!
|
2013-10-26 12:33:05 +08:00 |
Jinzhu
|
0491675ae8
|
Break find code into sql.go file
|
2013-10-26 11:59:58 +08:00 |
Jinzhu
|
c26e10813d
|
quote map for utils
|
2013-10-26 10:06:57 +08:00 |
Jinzhu
|
11758c647f
|
Add some utils
|
2013-10-26 09:49:40 +08:00 |