- And lo, the Great One looked down upon the people and proclaimed:
- "SQL is actually pretty great"
sqlc generates fully type-safe idiomatic Go code from SQL. Here's how it works:
- You write SQL queries
- You run sqlc to generate Go code that presents type-safe interfaces to those queries
- You write application code that calls the methods sqlc generated
Seriously, it's that easy. You don't have to write any boilerplate SQL querying code ever again.
.. toctree:: :maxdepth: 2 :caption: Overview :hidden: overview/install.md
.. toctree:: :maxdepth: 2 :caption: Tutorials :hidden: tutorials/getting-started-mysql.md tutorials/getting-started-postgresql.md tutorials/getting-started-sqlite.md
.. toctree:: :maxdepth: 2 :caption: Commands :hidden: howto/generate.md howto/push.md howto/verify.md howto/vet.md
.. toctree:: :maxdepth: 2 :caption: How-to Guides :hidden: howto/select.md howto/query_count.md howto/insert.md howto/update.md howto/delete.md howto/prepared_query.md howto/transactions.md howto/named_parameters.md howto/ddl.md howto/structs.md howto/embedding.md howto/overrides.md howto/rename.md
.. toctree:: :maxdepth: 3 :caption: sqlc Cloud :hidden: howto/managed-databases.md
.. toctree:: :maxdepth: 3 :caption: Reference :hidden: reference/changelog.md reference/cli.md reference/config.md reference/datatypes.md reference/environment-variables.md reference/language-support.rst reference/macros.md reference/query-annotations.md
.. toctree:: :maxdepth: 2 :caption: Conceptual Guides :hidden: howto/ci-cd.md guides/using-go-and-pgx.rst guides/plugins.md guides/development.md guides/privacy.md