Skip to content

Commit

Permalink
expose ResultSet
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole00 authored and xtcyclist committed Aug 22, 2023
1 parent 71a8713 commit 83fab19
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions result_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ const (
ErrorCode_E_PARTIAL_SUCCEEDED ErrorCode = ErrorCode(nebula.ErrorCode_E_PARTIAL_SUCCEEDED)
)

func GenResultSet(resp *graph.ExecutionResponse) (*ResultSet, error) {
var testTimezone timezoneInfo = timezoneInfo{0, []byte("UTC")}
return genResultSet(resp, testTimezone)
}

func genResultSet(resp *graph.ExecutionResponse, timezoneInfo timezoneInfo) (*ResultSet, error) {
var colNames []string
var colNameIndexMap = make(map[string]int)
Expand Down

0 comments on commit 83fab19

Please sign in to comment.