Update README

This commit is contained in:
Jinzhu 2013-11-07 12:12:25 +08:00
parent 9b27735464
commit c192b86d9e
1 changed files with 5 additions and 14 deletions

View File

@ -4,22 +4,14 @@ Yet Another ORM library for Go, aims for developer friendly
## Overview ## Overview
* CURD
* Chainable API * Chainable API
* Embedded structs support * Relations
* Before/After Create/Save/Update/Delete Callbacks * Callbacks (before/after create/save/update/delete)
* Update, Updates Like Rails's update_attribute, update_attributes
* FirstOrInit, FirstOrCreate Like Rails's first_or_initialize, first_or_create
* Order/Select/Limit/Offset Support
* Automatically CreatedAt, UpdatedAt
* Soft Delete * Soft Delete
* Create/Drop table from struct * Auto Migration
* Automating Migrations * Every feature comes with tests
* Dynamically set table name when search, create, update, delete...
* Prevent SQL Injection
* Goroutines friendly
* Database Pool
* Convention Over Configuration * Convention Over Configuration
* Developer Friendly
## Conventions ## Conventions
@ -675,7 +667,6 @@ db.Where("email = ?", "x@example.org").Attrs(User{FromIp: "111.111.111.111"}).Fi
## TODO ## TODO
* Index, Unique, Valiations * Index, Unique, Valiations
* Auto Migration
* SQL Log * SQL Log
* SQL Query with goroutines * SQL Query with goroutines