Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
*pop.Connection
}
Connection is the interface a storage provider must implement.
func Dial ¶
func Dial(config *conf.GlobalConfiguration) (*Connection, error)
Dial will connect to that storage engine
func (*Connection) Transaction ¶
func (c *Connection) Transaction(fn func(*Connection) error) error
func (*Connection) UpdateOnly ¶
func (conn *Connection) UpdateOnly(model interface{}, includeColumns ...string) error
Click to show internal directories.
Click to hide internal directories.