dialect

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFrom

func NewFrom(dsn string) gorm.Dialector

NewFrom returns a postgres dialector. Hint: `dsn` package contains utility to convert `config.DB` to DSN string that can be passed here. Note: PreferSimpleProtocol is enabled to disable prepared statement caching, which prevents "cached plan must not change result type" errors

Types

This section is empty.

Jump to

Keyboard shortcuts

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