sqlc-gen-zombiezen

command
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 8 Imported by: 0

README

SQLC Zombiezen driver plugin

How to use

  1. Install the plugin:

    go install github.com/delaneyj/toolbelt/sqlc-gen-zombiezen
    
  2. Make a sqlc.yml similar to the following:

    version: "2"
    
    plugins:
    - name: zz
        process:
        cmd: sqlc-gen-zombiezen
    
    sql:
    - engine: "sqlite"
        queries: "./queries"
        schema: "./migrations"
        codegen:
        - out: zz
            plugin: zz
    
  3. Run sqlc: sqlc generate

  4. ???

  5. Profit

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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