How can I use sqlc if I don't know how to write sql files? #1033
Unanswered
frederikhors
asked this question in
Q&A
Replies: 3 comments
-
That you borrow a book an learn SQL |
Beta Was this translation helpful? Give feedback.
0 replies
-
sqlc requires a good understanding of SQL. There's no shame in using other Go ORMs that require less SQL knowledge. If you're just getting into SQL, this is a good place to start: https://gumroad.com/l/sql-zine. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You might also check out dbdiagram.io as a step toward learning sql. It's sql-ish and generates sql that can be exported for Postgres, MySql, or Sql Server. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using go-pg right now.
I wanna try
sqlc
but I'm too inexperienced to define PG tables properly.For example I don't know what is the right choice for
ID
columns and other definitions which instead usingGorm
orgo-pg
come to me "FREE".What do you recommend to those like me in this situation?
Beta Was this translation helpful? Give feedback.
All reactions