Skip to content

Commit

Permalink
Merge branch 'master' into chore-log
Browse files Browse the repository at this point in the history
  • Loading branch information
wey-gu authored Jul 15, 2024
2 parents 14c47be + d12bd94 commit 45e9829
Show file tree
Hide file tree
Showing 5 changed files with 1,086 additions and 68 deletions.
4 changes: 4 additions & 0 deletions connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ func (cn *connection) executeWithParameter(sessionID int64, stmt string,
return resp, nil
}

func (cn *connection) executeWithParameterTimeout(sessionID int64, stmt string, params map[string]*nebula.Value, timeoutMs int64) (*graph.ExecutionResponse, error) {
return cn.graph.ExecuteWithTimeout(sessionID, []byte(stmt), params, timeoutMs)
}

func (cn *connection) executeJson(sessionID int64, stmt string) ([]byte, error) {
return cn.ExecuteJsonWithParameter(sessionID, stmt, map[string]*nebula.Value{})
}
Expand Down
Loading

0 comments on commit 45e9829

Please sign in to comment.