Skip to content

sqlc #83

Answered by nicolasparada
SunChero asked this question in Q&A
sqlc #83
Jan 11, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You are welcome and thank you for the interest.

I find sqlc great to kickstart a project since generates all the structs and methods. But I like to take over it after initial work to have full control.
Otherwise you spend time fighting the tool and looking up how to do things instead of actually implementing the features.

For example both posts and comments have a user, but you cannot reuse the same user model.

Or post and timeline item have the same fields but they generate a different model.

Etc.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SunChero
Comment options

Answer selected by nicolasparada
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants