(options *DeleteOptions)
| 105 | type DeleteOutput struct{} |
| 106 | |
| 107 | func (pa *PineconeAdapter) Delete(options *DeleteOptions) (*DeleteOutput, error) { |
| 108 | _, err := pa.Client.Delete(&pinecone.DeleteRequest{ |
| 109 | IDs: options.IDs, |
| 110 | DeleteAll: options.DeleteAll, |
| 111 | Namespace: options.Namespace, |
| 112 | Filter: options.Filter, |
| 113 | }) |
| 114 | |
| 115 | if err != nil { |
| 116 | return nil, err |
| 117 | } |
| 118 | |
| 119 | return &DeleteOutput{}, nil |
| 120 | } |
| 121 | |
| 122 | // Fetch |
| 123 |