Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ixiongjianbo committed Feb 22, 2022
1 parent af8b1db commit d3e9851
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,41 @@
# sqlx
sqlx is a postgres database orm

Golang's lightweight ORM Library


Overview
---

- Part-Featured ORM
- SQL Builder, Create/Delete/Find/Save/Count/Sum/Max/Avg/SetInc/SetDev with SQL Expr
- Developer Not Friendly,Because I'm Rubbish

Contributing
---

You can commit PR to this repository

Quick start
---
````
package main
import "github.com/gobkc/sqlx"
func main() {
db := NewPg("postgres1", "password1", "localhost:5566", "testDb", "disable")
err := db.Table("app").Where("id=?", 62).Update(&map[string]interface{}{"name":"123"})
if err != nil {
fmt.Println(err)
}
}
````
Please refer to [pgsql_test.go](https://github.com/gobkc/sqlx/blob/main/pgsql_test.go) document for more example

License
---

© Gobkc, 2022~time.Now

Released under the Apache License

0 comments on commit d3e9851

Please sign in to comment.