Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func NewConnection(ctx context.Context, user, pass, host, port, dbname string) (*Connection, error)
NewConnection creates a new connection object
func (*Connection) WriteQuery ¶
func (c *Connection) WriteQuery(query *Query, path string) error
WriteQuery writes the results of executing the query to a csv file at the path given
Click to show internal directories.
Click to hide internal directories.