Skip to content

Commit

Permalink
Add warning to multi upsert method
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgode committed Apr 9, 2018
1 parent 6ebd44a commit 8763c7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ func (c *client) createOrUpsert(ctx context.Context, fieldsToUpdate []string, en
// for the operation to succeed. If `fieldsToUpdate` is provided, only a subset
// of fields will be updated. Moreover, all entities being upserted must be part
// of the same partition otherwise the request will be rejected.
// NOTE: This endpoint is not officially released. No guarantees about correctness
// or performance of this API will be guaranteed until v2.6 is released.
func (c *client) MultiUpsert(ctx context.Context, fieldsToUpdate []string, entities ...DomainObject) (MultiResult, error) {
if !c.initialized {
return nil, &ErrNotInitialized{}
Expand Down

0 comments on commit 8763c7b

Please sign in to comment.