diff options
Diffstat (limited to 'vendor/github.com/uptrace/bun/README.md')
-rw-r--r-- | vendor/github.com/uptrace/bun/README.md | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/vendor/github.com/uptrace/bun/README.md b/vendor/github.com/uptrace/bun/README.md index 0e23122c7..0d1c2c6c2 100644 --- a/vendor/github.com/uptrace/bun/README.md +++ b/vendor/github.com/uptrace/bun/README.md @@ -1,13 +1,14 @@ -# SQL-first Go ORM for PostgreSQL, MySQL, MSSQL, and SQLite +# SQL-first Golang ORM for PostgreSQL, MySQL, MSSQL, and SQLite [](https://github.com/uptrace/bun/actions) [](https://pkg.go.dev/github.com/uptrace/bun) [](https://bun.uptrace.dev/) [](https://discord.gg/rWtp5Aj) -Bun is brought to you by :star: [**uptrace/uptrace**](https://github.com/uptrace/uptrace). Uptrace -is an open source and blazingly fast **distributed tracing** backend powered by OpenTelemetry and -ClickHouse. Give it a star as well! +> Bun is brought to you by :star: [**uptrace/uptrace**](https://github.com/uptrace/uptrace). Uptrace +> is an open source and blazingly fast +> [distributed tracing tool](https://get.uptrace.dev/compare/distributed-tracing-tools.html) powered +> by OpenTelemetry and ClickHouse. Give it a star as well! ## Features @@ -26,7 +27,7 @@ ClickHouse. Give it a star as well! Resources: -- [**Get started**](https://bun.uptrace.dev/guide/getting-started.html) +- [**Get started**](https://bun.uptrace.dev/guide/golang-orm.html) - [Examples](https://github.com/uptrace/bun/tree/master/example) - [Discussions](https://github.com/uptrace/bun/discussions) - [Chat](https://discord.gg/rWtp5Aj) @@ -253,7 +254,7 @@ topRegions := db.NewSelect(). TableExpr("regional_sales"). Where("total_sales > (SELECT SUM(total_sales) / 10 FROM regional_sales)") -var items map[string]interface{} +var items []map[string]interface{} err := db.NewSelect(). With("regional_sales", regionalSales). With("top_regions", topRegions). @@ -301,9 +302,15 @@ if err := db.NewSelect().Model(user1).Where("id = ?", 1).Scan(ctx); err != nil { } ``` -See [**Getting started**](https://bun.uptrace.dev/guide/getting-started.html) guide and check +See [**Getting started**](https://bun.uptrace.dev/guide/golang-orm.html) guide and check [examples](example). +## See also + +- [Golang HTTP router](https://github.com/uptrace/bunrouter) +- [Golang ClickHouse ORM](https://github.com/uptrace/go-clickhouse) +- [Golang msgpack](https://github.com/vmihailenco/msgpack) + ## Contributors Thanks to all the people who already contributed! |