This is pretty sweet. #litehug, a #SQL library for #lua which lets you write your queries directly in SQL. Think #SQLc, but for lua. 😎
Latest posts tagged with #sqlc on Bluesky
This is pretty sweet. #litehug, a #SQL library for #lua which lets you write your queries directly in SQL. Think #SQLc, but for lua. 😎
Just got finished setting up sqlc tooling for a monorepo with Go and Python. Now it will generate code for each language based on a single set of *.sql files with query statements.
- sqlc.dev
- github.com/sqlc-dev/sql...
#GoLang #Python #PythonLang #sqlc #CodeGen
`sqlc` and `goose` are pretty much all you need for doing any kind of SQL work in Go. Don't reinvent the wheel here and roll your own. It is simple to setup or transition too and then you can focus more on actual code.
#GoLang #SQL #sqlc #goose
TypeSpecは気になりつつまだ触れていない / Go開発に最適な構成:TypeSpec + ogen + sqlc + orval + MSW + Docker Compose + Taskfile で爆速プロトタイピング - tokuhirom's blog
#TypeSpec #ogen #sqlc #golang #docker
#Golang bob github.com/stephenafamo... is cool and flexible.It's inspired by #SQLBoiler but its documentation is unfortunately not straightforward. It seems like #sqlc will the best option for a long time
Меньше кода, больше результата: применяем sqlc для рабо...
habr.com/ru/companies/uzum/articl...
#go #sqlc #golang #postgresql #uzum #uzumtech
Event Attributes
Меньше кода, больше результата: применяем sqlc для рабо...
habr.com/ru/companies/uzum/articl...
#go #sqlc #golang #postgresql #uzum #uzumtech
Event Attributes
Меньше кода, больше результата: применяем sqlc для рабо...
habr.com/ru/companies/oleg-bunin/...
#go #sqlc #golang #postgresql #uzum #uzumtech
Event Attributes
Here's an sqlc + postgres query, used to fetch a list of posts to be displayed on a user's profile:
-- name: GetPostsByAuthor :many
SELECT * FROM posts WHERE author = $1;
Can you spot the problem with this query? ;)
#SQL #PostgreSQL #Postgres #SQLC #Go #GoLang
Yet another article on #sqlc #go
zemfira.me/posts/things-i-wish-i-kn...
I am generating db use with #sqlc, api with #gqlgen, and page renders with #templ.
The last thing I'm actually writing is my test with #ginkgo. Which dictate how everything else is built.
Feels like my #golang workflow has gotten pretty productive. Once I stopped trying to bikeshed. 😅
How do you configure SQLC in your project with DDD? I'm really unsure about how to configure ...
stackoverflow.com/questions/79410478/how-d...
#postgresql #go #golang-migrate #sqlc
Event Attributes
I started to play a little with #sqlc. Think code generator for queries you write in #SQL.
You still need to do migrations. But certainly makes the whole "service is the data" considerably more apparent. 😎