Skip to content

UnAfraid/sqlboiler-pgx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqlboiler-pgx

The main difference between sqlboiler-psql and sqlboiler-pgx is the driver used underneath:

Installation

# Install sqlboiler pgx driver
go install github.com/UnAfraid/sqlboiler-pgx@latest

# Generate models
sqlboiler pgx

Example configuration:

[pgx]
  dbname = "dbname"
  host   = "localhost"
  port   = 5432
  user   = "dbusername"
  pass   = "dbpassword"
  schema = "myschema"
  blacklist = ["migrations", "other"]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published