Skip to content

Commit d3e9851

Browse files
committed
Update README.md
1 parent af8b1db commit d3e9851

File tree

1 file changed

+40
-1
lines changed

1 file changed

+40
-1
lines changed

README.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,41 @@
11
# sqlx
2-
sqlx is a postgres database orm
2+
3+
Golang's lightweight ORM Library
4+
5+
6+
Overview
7+
---
8+
9+
- Part-Featured ORM
10+
- SQL Builder, Create/Delete/Find/Save/Count/Sum/Max/Avg/SetInc/SetDev with SQL Expr
11+
- Developer Not Friendly,Because I'm Rubbish
12+
13+
Contributing
14+
---
15+
16+
You can commit PR to this repository
17+
18+
Quick start
19+
---
20+
````
21+
package main
22+
23+
import "github.com/gobkc/sqlx"
24+
25+
func main() {
26+
db := NewPg("postgres1", "password1", "localhost:5566", "testDb", "disable")
27+
err := db.Table("app").Where("id=?", 62).Update(&map[string]interface{}{"name":"123"})
28+
if err != nil {
29+
fmt.Println(err)
30+
}
31+
}
32+
````
33+
Please refer to [pgsql_test.go](https://github.com/gobkc/sqlx/blob/main/pgsql_test.go) document for more example
34+
35+
License
36+
---
37+
38+
© Gobkc, 2022~time.Now
39+
40+
Released under the Apache License
41+

0 commit comments

Comments
 (0)