database

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

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

Factory provides database connection creation

func NewFactory

func NewFactory(connectionParams *models.ConnectionParameters) *Factory

NewFactory creates a new database factory

func (*Factory) CreateConnection

func (f *Factory) CreateConnection() (*sql.DB, error)

CreateConnection creates a new database connection

func (*Factory) GetProvider

func (f *Factory) GetProvider() models.DatabaseProvider

GetProvider returns the database provider

Jump to

Keyboard shortcuts

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