-
Export DB Schema and paste into db/schema/schema.sql file
-
Write a query(reference: https://docs.sqlc.dev/en/latest/index.html)
-
Generate code
make sqlc
or
./sqlc generate(for Windows)
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Export DB Schema and paste into db/schema/schema.sql file
Write a query(reference: https://docs.sqlc.dev/en/latest/index.html)
Generate code
make sqlc
or
./sqlc generate(for Windows)