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 |
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. |
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. |
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
sqlcbut I'm too inexperienced to define PG tables properly.For example I don't know what is the right choice for
IDcolumns and other definitions which instead usingGormorgo-pgcome to me "FREE".What do you recommend to those like me in this situation?
All reactions