Skip to content

Commit

Permalink
docs: update deprecated notes
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar committed Feb 27, 2024
1 parent 5cab7e8 commit f6916ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion influxdb3/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (c *Client) QueryWithParameters(ctx context.Context, query string, paramete
// - A custom iterator (*QueryIterator) that can also be used to get raw flightsql reader.
// - An error, if any.
//
// Deprecated: use Query with QueryOption options.
// Deprecated: use Query with variadic QueryOption options.
func (c *Client) QueryWithOptions(ctx context.Context, options *QueryOptions, query string) (*QueryIterator, error) {
if options == nil {
return nil, errors.New("options not set")
Expand Down
2 changes: 1 addition & 1 deletion influxdb3/write.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (c *Client) WritePoints(ctx context.Context, points []*Point, options ...Wr
// Returns:
// - An error, if any.
//
// Deprecated: use WritePoints with WriteOption options.
// Deprecated: use WritePoints with variadic WriteOption options.
func (c *Client) WritePointsWithOptions(ctx context.Context, options *WriteOptions, points ...*Point) error {
if options == nil {
return errors.New("options not set")
Expand Down

0 comments on commit f6916ef

Please sign in to comment.