granitic: Index | Files

package rdbms

import ""

Package rdbms provides the RdbmsAccess facility which gives application code access to an RDBMS (SQL database).

The RdbmsAccess facility is described in detail at and the programmatic interface that applications will use for executing SQL is described in the rdbms package documentation.

The purpose of this facility is to create an rdbms.RdbmsClientManager that will be injected into your application components. In turn, the rdbms.RdbmsClientManager will be used by your application to create instances of rdbms.RDBMSClient which provide the interface for executing SQL queries and managing transactions.


Package Files

builder.go decorator.go

type RdbmsAccessFacilityBuilder Uses

type RdbmsAccessFacilityBuilder struct {
    Log logging.Logger

Creates an instance of rdbms.RDBMSClientManager that can be injected into your application components.

func (*RdbmsAccessFacilityBuilder) BuildAndRegister Uses

func (rafb *RdbmsAccessFacilityBuilder) BuildAndRegister(lm *logging.ComponentLoggerManager, ca *config.ConfigAccessor, cn *ioc.ComponentContainer) error

See FacilityBuilder.BuildAndRegister

func (*RdbmsAccessFacilityBuilder) DependsOnFacilities Uses

func (rafb *RdbmsAccessFacilityBuilder) DependsOnFacilities() []string

DependsOnFacilities returns the other faclities that must be enabled in order to use the RdbmsAccess facility. You must enable the QueryManager facility.

func (*RdbmsAccessFacilityBuilder) FacilityName Uses

func (rafb *RdbmsAccessFacilityBuilder) FacilityName() string

See FacilityBuilder.FacilityName

Package rdbms imports 11 packages (graph) and is imported by 1 packages. Updated 2018-08-06. Refresh now. Tools for package owners.