// CheckConn will try to execute a query
CheckConn will try to execute a query
// CheckConn will try to execute a query
func (ds *DataStore) CheckConn() (err error) {
	sqlStmt := `
        select count(1) from ownership
    `
	_, err = ds.DB.Exec(sqlStmt)
	if err != nil {
		errMsg := fmt.Sprintf("WARN: GetCount: There is a SELECT error: %s", err)
		log.Printf(errMsg)
		err = errors.New(errMsg)
		return err
	}
	return nil
}
func ( ds * DataStore ) CheckConn ( ) ( err error ) { sqlStmt := `
        select count(1) from ownership
    ` _ , err = ds . DB . Exec ( sqlStmt ) if err != nil { errMsg := fmt . Sprintf ( " " , err ) log . Printf ( errMsg ) err = errors . New ( errMsg ) return err } return nil }
CheckConn will try to execute a query
CheckConn will try to execute a query