3
0
Files
corteza/store/dal.go
Denis Arh bdd9318f93 Refactor and improve DAL implementation and init
Changes:
 - Boot initialization follows standard impl
 - Improved DAL connection management (adding, reloading, removing)
 - Cleaner and more detailed logging
 - Primary store connection is now reused when added to DAL
2022-07-01 18:13:54 +02:00

12 lines
315 B
Go

package store
import "github.com/cortezaproject/corteza-server/pkg/dal"
// DAL uses given store as DAL connection
//
// This is mainly used to wrap primary store connection with DAL connection wrap
// and use it to interact with records in a primary DB
func DAL(s Storer) dal.Connection {
return s.ToDalConn()
}