Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#4629·sqlc

[docs] Include `@field` example under sqlc.arg

Author: KangarouxCreated Oct 1, 2026Updated Oct 1, 2026

https://docs.sqlc.dev/en/latest/reference/macros.html https://docs.sqlc.dev/en/latest/howto/named_parameters.html

The docs mention

See more examples in Naming parameters.

It would be nice to include an inline example on the macros page, I wasn't aware this syntax existed.

Might also be good to just take inventory on what's documented in the howto pages vs. reference pages, ideally the reference should have everything the howto does

Source: sqlc-dev/sqlc

View original on GitHubView discussion on GitHub