Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgreSql ¶
func NewPostgreSql ¶
func NewPostgreSql(dsn string) (*PostgreSql, error)
func (*PostgreSql) AutoMigrate ¶ added in v1.0.13
func (p *PostgreSql) AutoMigrate(table any) error
func (*PostgreSql) CreateIfNotExist ¶
func (p *PostgreSql) CreateIfNotExist(table interface{}) error
func (*PostgreSql) Db ¶
func (p *PostgreSql) Db() *gorm.DB
func (*PostgreSql) Kind ¶
func (*PostgreSql) Kind() storage.StoreKind
func (*PostgreSql) Type ¶
func (*PostgreSql) Type() storage.StoreType
type SqlDB ¶
Click to show internal directories.
Click to hide internal directories.