Documentation
¶
Index ¶
- func New(ctx context.Context, conn string) (abstract.DB, error)
- type Psql
- func (p *Psql) BeginTransaction() (abstract.DB, error)
- func (p *Psql) Close()
- func (p *Psql) Commit() error
- func (p *Psql) Connect() error
- func (p *Psql) Exec(query string, args ...interface{}) error
- func (p *Psql) Query(dst interface{}, query string, args ...interface{}) error
- func (p *Psql) QueryRow(dst interface{}, query string, args ...interface{}) (bool, error)
- func (p *Psql) QueryValue(dst interface{}, query string, args ...interface{}) error
- func (p *Psql) Rollback() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.