MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / ReadField2

Method ReadField2

rpc/client.go:4227–4234  ·  view source on GitHub ↗
(ctx context.Context, iprot thrift.TProtocol)

Source from the content-addressed store, hash-verified

4225}
4226
4227func (p *TSPrepareReq) ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
4228 if v, err := iprot.ReadString(ctx); err != nil {
4229 return thrift.PrependError("error reading field 2: ", err)
4230} else {
4231 p.Sql = v
4232}
4233 return nil
4234}
4235
4236func (p *TSPrepareReq) ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
4237 if v, err := iprot.ReadString(ctx); err != nil {

Callers 1

ReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected