[go: nahoru, domu]

Skip to content

glerchundi/sqlboiler-crdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqlboiler-crdb

Installation

Installation is simple, just use go get. 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 get -u github.com/glerchundi/sqlboiler-crdb/v4
# Generate models
sqlboiler crdb

It's configuration keys in sqlboiler are simple:

[crdb]
user="root"
pass=""
host="localhost"
port=26257
dbname="mydatabase"
sslmode="disable"

Notes:

  • I don't plan to support other than latest version of SQLBoiler. Although, and in order to avoid confussion, major version appears in the import path.
  • Cockroach 2.x and greater are supported, no plans to add support for previous versions.
  • Code generation against secure clusters is not tested yet.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published