Documentation ¶
Overview ¶
Package sql defines a Backend that is responsible for communicating with SQL databases and other external systems
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetWorkflowType ¶
func GetWorkflowType(columnWithTable string) interface{}
Types ¶
type SqlBackend ¶
type SqlBackend struct { *backend.Backend DB *sql.DB Templates map[string]string SchemaMapping map[string]*descriptor.SchemaMapping FilterPredicateMapping map[filter.Predicate]string NewSchemaMapping func([]string, []*sql.ColumnType) (*descriptor.SchemaMapping, error) Transactions sync.Map }
func (*SqlBackend) DeleteTx ¶
func (s *SqlBackend) DeleteTx(key interface{})
func (*SqlBackend) LoadTx ¶
func (s *SqlBackend) LoadTx(key interface{}) (value interface{}, ok bool)
func (*SqlBackend) SaveSchemaMapping ¶
func (s *SqlBackend) SaveSchemaMapping() (err error)
func (*SqlBackend) StoreTx ¶
func (s *SqlBackend) StoreTx(key, value interface{})
Click to show internal directories.
Click to hide internal directories.