Documentation
¶
Index ¶
- type MysqlTagStore
- func (m *MysqlTagStore) Clear() error
- func (m *MysqlTagStore) Delete(tag *models.Tag) error
- func (m *MysqlTagStore) Init() error
- func (m *MysqlTagStore) Insert(tag *models.Tag) error
- func (m *MysqlTagStore) SelectAll() (models.Tags, error)
- func (m *MysqlTagStore) SelectByQuery(entityType, entityID string) (models.Tags, error)
- type Query
- type TagStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlTagStore ¶
type MysqlTagStore struct {
// contains filtered or unexported fields
}
func NewMysqlTagStore ¶
func NewMysqlTagStore(c dbcommon.Config) *MysqlTagStore
func (*MysqlTagStore) Clear ¶
func (m *MysqlTagStore) Clear() error
func (*MysqlTagStore) Init ¶
func (m *MysqlTagStore) Init() error
Creates the database and tag table if it doesn't already exist
func (*MysqlTagStore) SelectByQuery ¶
func (m *MysqlTagStore) SelectByQuery(entityType, entityID string) (models.Tags, error)
Click to show internal directories.
Click to hide internal directories.