Jinzhu
|
db7fc2d53a
|
Refact code to make it more strong
|
2013-10-29 22:03:11 +08:00 |
Jinzhu
|
1ecf9d76be
|
Make FirstOrInit FirstOrCreate works!
|
2013-10-29 20:20:25 +08:00 |
Jinzhu
|
6ac0012879
|
Try to implement the FirstOrInit method
|
2013-10-29 19:05:54 +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
|
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 |
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
|
3bd7daf889
|
Remove unnecessary exported fields
|
2013-10-28 15:55:45 +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
|
13a8d98d8f
|
Add some tests for Error handling
|
2013-10-28 12:12:12 +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 |