Skip to content

Commit 6f8ad6a

Browse files
Rafael Chaconbramp
authored andcommitted
Add tests to executor engine
1 parent da747e0 commit 6f8ad6a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

dependency/sqltypes/bind_variables.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ func BuildBindVariables(in map[string]interface{}) (map[string]*querypb.BindVari
5555
return out, nil
5656
}
5757

58+
// Int32BindVariable converts an int64 to a bind var.
59+
func Int32BindVariable(v int32) *querypb.BindVariable {
60+
return ValueBindVariable(NewInt32(v))
61+
}
62+
5863
// Int64BindVariable converts an int64 to a bind var.
5964
func Int64BindVariable(v int64) *querypb.BindVariable {
6065
return ValueBindVariable(NewInt64(v))

0 commit comments

Comments
 (0)