|
@@ -1,6 +1,6 @@
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -25,9 +25,10 @@ type TransactionResponse struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
|
|
|
- Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
|
|
|
- Results string `protobuf:"bytes,3,opt,name=Results,proto3" json:"Results,omitempty"`
|
|
|
+ Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
|
|
|
+ Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
|
|
|
+ Results string `protobuf:"bytes,3,opt,name=Results,proto3" json:"Results,omitempty"`
|
|
|
+ RowsAffected int64 `protobuf:"varint,4,opt,name=RowsAffected,proto3" json:"RowsAffected,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (x *TransactionResponse) Reset() {
|
|
@@ -83,20 +84,29 @@ func (x *TransactionResponse) GetResults() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
+func (x *TransactionResponse) GetRowsAffected() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.RowsAffected
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
var File_v1_response_sql_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_v1_response_sql_proto_rawDesc = []byte{
|
|
|
0x0a, 0x15, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2f, 0x73, 0x71,
|
|
|
0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
- 0x65, 0x22, 0x5b, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
+ 0x65, 0x22, 0x7f, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63,
|
|
|
0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65,
|
|
|
0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
0x03, 0x4d, 0x73, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18,
|
|
|
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x1c,
|
|
|
- 0x5a, 0x1a, 0x64, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62,
|
|
|
- 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72,
|
|
|
- 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x22,
|
|
|
+ 0x0a, 0x0c, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x04,
|
|
|
+ 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74,
|
|
|
+ 0x65, 0x64, 0x42, 0x1c, 0x5a, 0x1a, 0x64, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x70,
|
|
|
+ 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
+ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|