...

Source file src/github.com/doug-martin/goqu/v9/dialect/postgres/postgres.go

Documentation: github.com/doug-martin/goqu/v9/dialect/postgres

     1  package postgres
     2  
     3  import (
     4  	"github.com/doug-martin/goqu/v9"
     5  )
     6  
     7  func DialectOptions() *goqu.SQLDialectOptions {
     8  	do := goqu.DefaultDialectOptions()
     9  	do.PlaceHolderFragment = []byte("$")
    10  	do.IncludePlaceholderNum = true
    11  	return do
    12  }
    13  
    14  func init() {
    15  	goqu.RegisterDialect("postgres", DialectOptions())
    16  }
    17  

View as plain text