Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct { Host string Port string Database string Username string SslMode string ChangelogName string Interactive bool // contains filtered or unexported fields }
Session represents a user session to a specific PostgreSQL database
func (*Session) Connect ¶
Connect creates a new connection to the database and makes sure it is responding by pinging it.
func (*Session) Disconnect ¶
Disconnect closes the database connection
func (*Session) EnsureChangelogExists ¶
EnsureChangelogExists creates the changelog table if it does not exist
Click to show internal directories.
Click to hide internal directories.