#sqlc 搜索结果
Creating an API using Go and #sqlc #golang #dormosheio #sql #sqlmock dormoshe.io/trending-news/…
dormoshe.io
Creating an API using Go and sqlc
When writing a Go application that handles data in a database (in this post, I will focus on relational databases), we have a few options. I will present in this post a project that fits in the las...
Taming SQL and ORMs with #sqlc #golang #dormosheio #programming dormoshe.io/trending-news/…
dormoshe.io
Taming SQL and ORMs with sqlc
Posted on Jun 7 • Originally published at encore.dev Welcome to the very first post in go get it, our series on excellent Go packages and tools that deserve a spotlight. Fir...
Imagine writing plain SQL, and a tool generates structures and repositories for you! 🤯 It's like an ORM, but the other way around. ♻️ What an interesting idea! Sadly it's only for Go now. #sql #sqlc #go #orm @dreamsofcode_io youtu.be/VX6KzpjaPp8
youtube.com
YouTube
SQLc is the perfect tool for those who don't like ORMs
現職で使っているsqlboilerがメンテナンスモードに入ってしまい、何のormに移行すると良いか調べてて、sqlcと並んでsqlxも発見 移行するなら ・シンプルなコードが生成される ・コード生成時、コード活用時に型が使える点 は最低でも欲しいと思った qiita.com/nakampany/item… #sqlboiler #sqlc #go
Day 52 CRUD in Fiber + sqlc today. No ORM. Just Go + SQL, holding hands like old soulmates. I’m not writing backend anymore. I’m conducting a symphony. #golang #fiber #sqlc #buildinpublic
7/🚀 Check out my sqlcVsGorm project! 📊 I’ve benchmarked SQLC and GORM for performance with PostgreSQL. Dive into the project here: github.com/lordofthemind/… on GitHub #Go #SQLC #GORM #DatabasePerformance #golang
Highly recommended to check out #sqlc by @k0st at @BalCC0n #BalCCon2k17
Day 51 Set up Go + Fiber + sqlc today. It’s so smooth it feels like cheating. Type-safe SQL, zero ORM bloat, blazing speed. I feel like a monk discovering machine guns. Not a senior, just building in public ⚔️ #golang #fiber #sqlc #buildinpublic
2/ 🔍 What is SQLC? SQLC generates type-safe Go code from raw SQL queries, offering precise control over SQL while ensuring compile-time safety. It's known for its performance due to minimal overhead compared to ORMs. #SQLC #GoLang
1/ 🎯 In the sqlcVsGorm project, I’ve implemented a comprehensive benchmark to compare the performance of two popular Go database libraries: SQLC and GORM. The focus is on understanding their efficiency in various database operations with PostgreSQL. #Go #PostgreSQL #SQLC #GORM
Today my idea about code generations was changed, they're really cool. Thanks to #sqlc
Day 52 CRUD in Fiber + sqlc today. No ORM. Just Go + SQL, holding hands like old soulmates. I’m not writing backend anymore. I’m conducting a symphony. #golang #fiber #sqlc #buildinpublic
Day 51 Set up Go + Fiber + sqlc today. It’s so smooth it feels like cheating. Type-safe SQL, zero ORM bloat, blazing speed. I feel like a monk discovering machine guns. Not a senior, just building in public ⚔️ #golang #fiber #sqlc #buildinpublic
GoのORM調べてると #gorm #sqlc の記事が多い印象。 sqlcは他記事でも見るけど、SQLからGoの関数を生成できて、型安全な点が良さそう。 海外の記事サイトとか読んでも同じ結果なのか明日見てみよう。オススメの海外のテック系のブログサイトあれば教えてください。 qiita.com/Leapcell/items…
sqlcの公式見てみると、シンプルさがウリみたい。 1. SQLを書く 2. 型安全なインターフェースのコードが生成 3. sqlcが生成したコードを活用するだけ 聞けば聞くほど、今使ってるsqlboilerに体験が近そう 先月立ち上がったPJとか社内管理画面で試しても良いかも docs.sqlc.dev/en/stable/inde… #sqlc
ホントだ。sqlcはsum関数とかが使える。 qiita.com/ktat/items/2ed… #go #orm #sqlc
現職で使っているsqlboilerがメンテナンスモードに入ってしまい、何のormに移行すると良いか調べてて、sqlcと並んでsqlxも発見 移行するなら ・シンプルなコードが生成される ・コード生成時、コード活用時に型が使える点 は最低でも欲しいと思った qiita.com/nakampany/item… #sqlboiler #sqlc #go
Go の database/sql の操作を log/slog を使ってログ出力するライブラリ sql-slog に sqlc をあわせて使うサンプルを追加しました github.com/akm/sql-slog/t… #golang #sqlc
🚀 Just discovered #sqlc! It generates type-safe Go code from SQL queries, making database interactions seamless. Imagine writing your SQL and getting perfectly typed Go structs in return! Check it out: github.com/sqlc-dev/sqlc #OpenSource #GoLang #TypeSafety #DeveloperTools
@sqlcdev ,#sqlc and #golang experts - I ran into a snag today. I have a query returning Thing and another returning ThingList. I can't cast from Thing to ThingList type without copying all the members. Is it a skill issue or just something I need to accept?
Imagine writing plain SQL, and a tool generates structures and repositories for you! 🤯 It's like an ORM, but the other way around. ♻️ What an interesting idea! Sadly it's only for Go now. #sql #sqlc #go #orm @dreamsofcode_io youtu.be/VX6KzpjaPp8
youtube.com
YouTube
SQLc is the perfect tool for those who don't like ORMs
最近sqlcの記事ばっかかいてましたが、一段落したので、まとめときました。 qiita.com/ktat/items/89b… #golang #orm #sqlc #Qiita
qiita.com
sqlc記事まとめ - Qiita
最近書いたsqlc関連の記事をまとめておきます。これくらい知っていればストレスなく使えるんじゃないかなぁと思います。 Go のちょっと変わったORM sqlc の紹介 ... sqlcの基本的な使い方 sqlcで動的なWHEREを作る ... sqlc は動的にSQL...
. #Golang #sqlc question. How can I keep the header comments from my .sql file from being included in the generated source code? It feels weird to have the entire copyright section from my header included as a block comment on the first generated function.
sqlcの記事を書きました。多分、これで最後です。 Go の ORM sqlcでBulk Insertを行う(MySQL) qiita.com/ktat/items/94b… #golang #sqlc #orm #Qiita
qiita.com
Go の ORM sqlcでBulk Insertを行う(MySQL) - Qiita
sqlcでは動的なSQLは書けません。WHEREについては方法を紹介しましたが、Bulk Insertも動的になってしまうので、困りますね。 SELECTと同様、Query Builderで作るのも手段ではありますが、一応公式に用意されています。ただ、ちょっと微妙かなと思っ...
昨日に引き続き sqlcです。Type overrides の設定を自動生成する話です。 #golang #sqlc #orm #qiita qiita.com/ktat/items/750…
qiita.com
GoのORM sqlcのType Overridesを自動生成する(MySQL用) - Qiita
前回はsqlcのType Overridesの紹介をしましたが、Type Overridesで自前の型にマッピングすると便利だけど、手でやるのはちょっとしんどいかもしれません。 はい、そうですね、自動生成すればいいですね。 おさらい: Type Overrides の何が...
sqlcのtype overridesとgo-optionalについて書きました。 qiita.com/ktat/items/74c… #golang #sqlc #qiita #orm
qiita.com
sqlcでType Overrides の活用とgo-optionalの話 - Qiita
前回、前々回に続き、sqlcの話です。もう少し続きます。 Type Overrides sqlcは、YAMLで設定を書きますが、overridesという項目があります(ドキュメント)。これは何かというと、DBの型に対するGoの型(例えば、VARCHARをstringにする...
7/🚀 Check out my sqlcVsGorm project! 📊 I’ve benchmarked SQLC and GORM for performance with PostgreSQL. Dive into the project here: github.com/lordofthemind/… on GitHub #Go #SQLC #GORM #DatabasePerformance #golang
Something went wrong.
Something went wrong.
United States Trends
- 1. $CHA 1,073 posts
- 2. #TORQSports N/A
- 3. Supreme Court 117K posts
- 4. Banish 1,428 posts
- 5. Malcolm Brogdon 4,001 posts
- 6. Nancy 76.1K posts
- 7. Argentina 467K posts
- 8. Waddle 4,444 posts
- 9. SCOTUS 37.1K posts
- 10. #PokemonGO 3,494 posts
- 11. Olave 3,731 posts
- 12. Big Balls 28.9K posts
- 13. #TWICExVictoriasSecret 14.6K posts
- 14. TWICE LIGHTS UP VSFS 14.5K posts
- 15. Martha 22.4K posts
- 16. #ClockTower1Year N/A
- 17. Russ 20.2K posts
- 18. Voting Rights Act 36.9K posts
- 19. Biker Boyz N/A
- 20. #VSFashionShow 28.8K posts