Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConnection ¶
func CreateConnection(ctx api.StreamContext, props map[string]any) (modules.Connection, error)
func ParseDriver ¶
Types ¶
type SQLConnection ¶
func CreateClient ¶
func CreateClient(ctx api.StreamContext, props map[string]any) (*SQLConnection, error)
func (*SQLConnection) Close ¶
func (s *SQLConnection) Close(ctx api.StreamContext) error
func (*SQLConnection) DetachSub ¶
func (s *SQLConnection) DetachSub(ctx api.StreamContext, props map[string]any)
func (*SQLConnection) GetDB ¶
func (s *SQLConnection) GetDB() *sql.DB
func (*SQLConnection) Ping ¶
func (s *SQLConnection) Ping(ctx api.StreamContext) error
func (*SQLConnection) Reconnect ¶
func (s *SQLConnection) Reconnect() error
Click to show internal directories.
Click to hide internal directories.