Skip to content

Commit c9a3f58

Browse files
committed
code health: add ExecuteTyped/ExecuteAsync to the common interface
Follows up #62
1 parent 9fb2337 commit c9a3f58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

connector.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ type Connector interface {
3030
Call16Typed(functionName string, args interface{}, result interface{}) (err error)
3131
Call17Typed(functionName string, args interface{}, result interface{}) (err error)
3232
EvalTyped(expr string, args interface{}, result interface{}) (err error)
33+
ExecuteTyped(expr string, args interface{}, result interface{}) (SQLInfo, []ColumnMetaData, error)
3334

3435
SelectAsync(space, index interface{}, offset, limit, iterator uint32, key interface{}) *Future
3536
InsertAsync(space interface{}, tuple interface{}) *Future
@@ -41,6 +42,7 @@ type Connector interface {
4142
Call16Async(functionName string, args interface{}) *Future
4243
Call17Async(functionName string, args interface{}) *Future
4344
EvalAsync(expr string, args interface{}) *Future
45+
ExecuteAsync(expr string, args interface{}) *Future
4446

4547
Do(req Request) (fut *Future)
4648
}

0 commit comments

Comments
 (0)