Skip to content

Commit f241fa9

Browse files
committed
wording
1 parent d46f0e4 commit f241fa9

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

go/adbc/adbc.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -740,20 +740,20 @@ type Statement interface {
740740
// Bind uses an Arrow record batch to bind parameters to the query.
741741
//
742742
// This can be used for bulk inserts or for prepared statements. The
743-
// driver will take ownership of (Retain) the given batch; the
744-
// application may Release the batch after binding. The driver will
745-
// Release the batch after processing, but this may not be until Close
746-
// is called. A nil batch will unbind values.
743+
// driver will Retain the given batch; the application must still
744+
// Release the batch after binding. The driver will Release the batch
745+
// after processing, but this may not be until Close is called. A nil
746+
// batch will unbind values.
747747
Bind(ctx context.Context, values arrow.RecordBatch) error
748748

749749
// BindStream uses a record batch stream to bind parameters for this
750750
// query. This can be used for bulk inserts or prepared statements.
751751
//
752752
// This can be used for bulk inserts or for prepared statements. The
753-
// driver will take ownership of (Retain) the given reader; the
754-
// application may Release the reader after binding. The driver will
755-
// Release the reader after processing, but this may not be until Close
756-
// is called. A nil reader will unbind values.
753+
// driver will Retain the given reader; the application must still
754+
// Release the reader after binding. The driver will Release the
755+
// reader after processing, but this may not be until Close is
756+
// called. A nil reader will unbind values.
757757
BindStream(ctx context.Context, stream array.RecordReader) error
758758

759759
// GetParameterSchema returns an Arrow schema representation of

0 commit comments

Comments
 (0)