func (obj *ResultSet) HasExceptions() bool {
	return false
}
HasExceptions checks whether the result set has any exceptions
package impl
import (
	"bytes"
	"encoding/gob"
	"fmt"
	"strconv"
	"strings"
	"tgdb"
	"time"
)
type ResultSet struct {
	conn       tgdb.TGConnection
	currPos    int
	isOpen     bool
	resultId   int
	ResultList []interface{}
	MetaData	tgdb.TGResultSetMetaData
}
func DefaultResultSet() *ResultSet {
	gob.Register(ResultSet{})
	newResults := ResultSet{
		currPos:    -1,
		isOpen:     true,
		resultId:   -1,
		ResultList: make([]interface{}, 0),
		MetaData: nil,
	}
	return &newResults
}
var _ tgdb.TGResultSet = (*ResultSet)(nil)
func NewResultSet(conn tgdb.TGConnection, resultId int) *ResultSet {
	newResults := DefaultResultSet()
	newResults.conn = conn
	newResults.resultId = resultId
	return newResults
}
func (obj *ResultSet) GetConnection() tgdb.TGConnection {
	return obj.conn
}
func (obj *ResultSet) GetCurrentPos() int {
	return obj.currPos
}
func (obj *ResultSet) GetIsOpen() bool {
	return obj.isOpen
}
func (obj *ResultSet) GetResultId() int {
	return obj.resultId
}
func (obj *ResultSet) GetResults() []interface{} {
	return obj.ResultList
}
func (obj *ResultSet) AddEntityToResultSet(entity tgdb.TGEntity) tgdb.TGResultSet {
	obj.ResultList = append(obj.ResultList, entity)
	return obj
}
func (obj *ResultSet) Close() tgdb.TGResultSet {
	obj.isOpen = false
	return obj
}
func (obj *ResultSet) Count() int {
	if obj.isOpen == false {
		return 0
	}
	return len(obj.ResultList)
}
func (obj *ResultSet) First() interface{} {
	if obj.isOpen == false {
		return nil
	}
	if len(obj.ResultList) == 0 {
		return nil
	}
	return obj.ResultList[0]
}
func (obj *ResultSet) Last() interface{} {
	if obj.isOpen == false {
		return nil
	}
	if len(obj.ResultList) == 0 {
		return nil
	}
	return obj.ResultList[len(obj.ResultList)-1]
}
func (obj *ResultSet) GetAt(position int) interface{} {
	if obj.isOpen == false {
		return nil
	}
	if position >= 0 && position < len(obj.ResultList) {
		return obj.ResultList[position]
	}
	return nil
}
func (obj *ResultSet) GetExceptions() []tgdb.TGError {
	return nil
}
func (obj *ResultSet) GetPosition() int {
	if obj.isOpen == false {
		return 0
	}
	return obj.currPos
}