sqlite

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLite3Service

type SQLite3Service struct {
	orm.ModelRegistryImpl
	orm.DeleteCallback
	orm.UpdateCallback

	Config brick.Config `inject:"config"`
	// contains filtered or unexported fields
}

SQLite3Service ...

func (*SQLite3Service) Dispose

func (p *SQLite3Service) Dispose() error

Dispose teardown sqlite conn

func (*SQLite3Service) GetDB

func (p *SQLite3Service) GetDB() *gorm.DB

GetDB return db conn

func (*SQLite3Service) Init

func (p *SQLite3Service) Init() error

Init new sqlite conn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL