Logo

Overview

  • Installing sqlc

Tutorials

  • Getting started with MySQL
  • Getting started with PostgreSQL
  • Getting started with SQLite

Commands

  • generate - Generating code
  • push - Uploading projects
  • verify - Verifying schema changes
  • vet - Linting queries

How-to Guides

  • Retrieving rows
  • Counting rows
  • Inserting rows
  • Updating rows
  • Deleting rows
  • Preparing queries
  • Using transactions
  • Naming parameters
  • Modifying the database schema
  • Configuring generated structs
  • Embedding structs
  • Overriding types
  • Renaming fields

sqlc Cloud

  • Managed databases

Reference

  • Changelog
  • CLI
  • Configuration
  • Datatypes
  • Environment variables
  • Database and language support
  • Macros
  • Query annotations

Conceptual Guides

  • Using sqlc in CI/CD
  • Using Go and pgx
  • Using plugins
  • Developing sqlc
  • Privacy and data collection

Sponsored By

Riza logo
sqlc
  • Search


© Copyright 2024, Riza, Inc..

Built with Sphinx using a theme provided by Read the Docs.