Skip to content

optiman/sqlboiler-crdb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqlboiler-crdb

CockroachDB (version >= 21.1.0) driver for SQLBoiler

Installation

Once the binary is in your path sqlboiler will be able to use it if you run it with the driver name crdb.

# Install sqlboiler crdb driver
go install github.com/optiman/sqlboiler-crdb@latest

# Generate models
sqlboiler crdb
# Or using absolute path to driver binary
sqlboiler /path/to/sqlboiler-crdb

Configuration parameters in sqlboiler.yaml:

crdb:
    user: myuser
    pass: mypass
    host: localhost
    port: 26257
    dbname: mydatabase
    sslmode: disable

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 68.0%
  • Smarty 32.0%