Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbClient ¶
type DbClient struct { ConnInfo *data.ConnInfo Log *selog.Selog // contains filtered or unexported fields }
func NewDbClient ¶
func (*DbClient) OpenConnection ¶
OpenConnection opens connection, pings the DB. In case of any error while pinging, it returns error.
If there is no error after pinging the DB, this function takes input(cmds) to execute on the DB specified by the user. To see available cmds;
> help
Click to show internal directories.
Click to hide internal directories.