sqlc

package module
v1.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 0 Imported by: 0

README

sqlc: A SQL Compiler

go Go Report Card

sqlc generates type-safe code from SQL. Here's how it works:

  1. You write queries in SQL.
  2. You run sqlc to generate code with type-safe interfaces to those queries.
  3. You write application code that calls the generated code.

Check out an interactive example to see it in action, and the introductory blog post for the motivation behind sqlc.

Overview

Sponsors

sqlc development is funded by our generous sponsors, including the following companies:

If you use sqlc at your company, please consider becoming a sponsor today.

Sponsors receive priority support via the sqlc Slack organization.

Acknowledgements

sqlc was inspired by PugSQL and HugSQL.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Placeholder

type Placeholder struct{}

Directories

Path Synopsis
cmd
examples
internal
cmd
ext
ext/wasm
The above build constraint is based of the cgo directives in this file: https://github.com/bytecodealliance/wasmtime-go/blob/main/ffi.go
The above build constraint is based of the cgo directives in this file: https://github.com/bytecodealliance/wasmtime-go/blob/main/ffi.go
vet
pkg
cli
package cli exposes the command-line interface for sqlc.
package cli exposes the command-line interface for sqlc.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL