Commit Graph

10 Commits

Author SHA1 Message Date
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