SKIP TO CONTENT
SEPTIAN.PADLI
← BLOG INDEX
BACKENDPOST / PUBLISHED

Raw SQL vs sqlc Is a Question of Friction.

A short note: the useful comparison is not ideology—it is which mistakes your project keeps making.

1 MIN READ

Both approaches can be sensible. The choice depends on how much type feedback, query visibility, and migration discipline the project actually needs.

SELECT id, name, created_at
FROM files
WHERE owner_id = $1
ORDER BY created_at DESC;
#DATABASE#GO#SQL
# RELATED

KEEP
READING.