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 ...any) error
- func (p *Psql) Query(dst any, query string, args ...any) error
- func (p *Psql) QueryRow(dst any, query string, args ...any) (bool, error)
- func (p *Psql) QueryValue(dst any, query string, args ...any) 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.