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.ClientManager that will be injected into your application components. In turn, the rdbms.ClientManager will be used by your application to create instances of rdbms.RDBMSClient which provide the interface for executing SQL queries and managing transactions.



This section is empty.


This section is empty.


This section is empty.


type FacilityBuilder

type FacilityBuilder struct {
	Log logging.Logger

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

func (*FacilityBuilder) BuildAndRegister

BuildAndRegister implements FacilityBuilder.BuildAndRegister

func (*FacilityBuilder) DependsOnFacilities

func (rafb *FacilityBuilder) 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 (*FacilityBuilder) FacilityName

func (rafb *FacilityBuilder) FacilityName() string

FacilityName implements FacilityBuilder.FacilityName