2013-10-25 12:24:29 +04:00
|
|
|
# GORM
|
|
|
|
|
2013-10-26 11:18:44 +04:00
|
|
|
Yet Another ORM library for Go, aims for developer friendly
|
2013-10-25 12:24:29 +04:00
|
|
|
|
2013-10-26 11:18:44 +04:00
|
|
|
## TODO
|
|
|
|
* Perimary key
|
|
|
|
* Create table
|
|
|
|
* Save and fill the record
|
|
|
|
* Update
|
|
|
|
* Delete
|
|
|
|
* Complex where query (= / > / < / <> / in)
|
|
|
|
* Order
|
|
|
|
* Limit
|
|
|
|
* Select
|
|
|
|
* Offset
|
|
|
|
* Or query
|
|
|
|
* Not query
|
|
|
|
* Even more complex where query (with map or struct)
|
|
|
|
* ORM.Errors
|
|
|
|
* Better First method (First(&user, primary_key))
|
|
|
|
* Soft Delete
|
|
|
|
* After/Before Save/Update/Create/Delete
|
|
|
|
* FindOrInitialize / FindOrCreate
|
|
|
|
* Exec run SQL directly
|
|
|
|
* SQL Log
|
|
|
|
* Auto Migration
|
|
|
|
* Index, Unique, Valiations
|
2013-10-25 12:24:29 +04:00
|
|
|
|
2013-10-26 11:18:44 +04:00
|
|
|
# Author
|
2013-10-25 12:24:29 +04:00
|
|
|
|
2013-10-26 11:18:44 +04:00
|
|
|
**Jinzhu**
|
2013-10-25 12:24:29 +04:00
|
|
|
|
2013-10-26 11:18:44 +04:00
|
|
|
* <http://github.com/jinzhu>
|
|
|
|
* <wosmvp@gmail.com>
|
|
|
|
* <http://twitter.com/zhangjinzhu>
|