Documentation ¶
Index ¶
- func Connect(dbConfig *config.DatabaseConfig) (connection interfaces.AccessInterface, errVal error)
- type DAL
- func (dalInstance *DAL) BeginTransaction() error
- func (dalInstance *DAL) CancelTransaction() error
- func (dalInstance *DAL) Clone() interfaces.AccessInterface
- func (dalInstance *DAL) CompleteTransaction() error
- func (dalInstance *DAL) DeleteUserByPubId(ctx context.Context, userPubId *uuid.UUID) error
- func (dalInstance *DAL) InsertChurch(ctx context.Context, churchIn *model.ChurchIn) (church *models.ChurchProfile, errVal error)
- func (dalInstance *DAL) InsertUser(ctx context.Context, userIn *model.UserIn) error
- func (dalInstance *DAL) MakeLeader(ctx context.Context, churchPubId *uuid.UUID, userPubId *uuid.UUID) error
- func (dalInstance *DAL) Migrate(dbName *string) (errVal error)
- func (dalInstance *DAL) SelectChurchByEmail(ctx context.Context, email string) (church *models.ChurchProfile, errVal error)
- func (dalInstance *DAL) SelectUserByEmail(ctx context.Context, email string) (user *models.UserProfile, errVal error)
- func (dalInstance *DAL) UpdateChurchActivationStatus(ctx context.Context, churchPubId *uuid.UUID, isActive bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(dbConfig *config.DatabaseConfig) (connection interfaces.AccessInterface, errVal error)
Types ¶
type DAL ¶
func (*DAL) BeginTransaction ¶
func (*DAL) CancelTransaction ¶
func (*DAL) Clone ¶
func (dalInstance *DAL) Clone() interfaces.AccessInterface
func (*DAL) CompleteTransaction ¶
func (*DAL) DeleteUserByPubId ¶
func (*DAL) InsertChurch ¶
func (*DAL) InsertUser ¶
func (*DAL) MakeLeader ¶
func (*DAL) SelectChurchByEmail ¶
func (*DAL) SelectUserByEmail ¶
Click to show internal directories.
Click to hide internal directories.