entutils

package
v1.0.0-beta.160 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntPostgresDriver

type EntPostgresDriver struct {
	// contains filtered or unexported fields
}

func NewEntPostgresDriver

func NewEntPostgresDriver(db *sql.DB) *EntPostgresDriver

NewEntPostgresDriver returns a EntPostgresDriver created from *sql.DB.

func (*EntPostgresDriver) Client

func (d *EntPostgresDriver) Client() *entdb.Client

Client returns the underlying Client.

func (*EntPostgresDriver) Clone

Clone returns a new EntPostgresDriver initialized by using the underlying *sql.DB.

func (*EntPostgresDriver) Close

func (d *EntPostgresDriver) Close() error

Close releases all the underlying resources.

func (*EntPostgresDriver) Driver

func (d *EntPostgresDriver) Driver() *entDialectSQL.Driver

Driver returns the underlying Driver.

Jump to

Keyboard shortcuts

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