Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBcon ¶
type DBcon struct { DB *sql.DB Ctx context.Context Qstmt *sql.Stmt // contains filtered or unexported fields }
DBcon ... Project DB type
func CreateDBCon ¶
CreateDBCon ... Create Project DB Connection
func (*DBcon) ExecuteQuery ¶
func (c *DBcon) ExecuteQuery(sqlquery string) (*ExecuteResult, error)
ExecuteQuery ...
func (*DBcon) GetResultRow ¶
GetResultRow ...
type ExecuteResult ¶
type ExecuteResult struct { LastInsertId int64 `json:"last_insert_id,omitempty"` RowsAffected int64 `json:"rows_affected,omitempty"` }
ExecuteResult ...
Click to show internal directories.
Click to hide internal directories.