Package rdbms provides the RdbmsAccess facility which gives application code access to an RDBMS (SQL database).
The RdbmsAccess facility is described in detail at https://granitic.io/ref/relational-databases 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.
type FacilityBuilder ¶
FacilityBuilder creates an instance of rdbms.RDBMSClientManager that can be injected into your application components.
func (*FacilityBuilder) BuildAndRegister ¶
func (rafb *FacilityBuilder) BuildAndRegister(lm *logging.ComponentLoggerManager, ca *config.Accessor, cn *ioc.ComponentContainer) error
BuildAndRegister implements FacilityBuilder.BuildAndRegister
func (*FacilityBuilder) DependsOnFacilities ¶
DependsOnFacilities returns the other faclities that must be enabled in order to use the RdbmsAccess facility. You must enable the QueryManager facility.