OracleCollection Public Methods

OracleCollection public methods are listed in Table 21-2.

Table 2 OracleCollection Public Methods

Public Method Description
CollectionExistsAsync Checks whether the collection exists in the vector store.
DeleteAsync Deletes a single record or a batch of records from the vector store. It does not guarantee that the collection exists.
Dispose Releases any resources or memory held by the object.
EnsureCollectionExistsAsync Ensures the existence of the collection. Creates the collection in the vector store if it does not exist.
EnsureCollectionDeletedAsync Deletes the collection from the vector store if it exists.
GetAsync Retrieves a single record or a batch of records from the vector store. It does not guarantee that the collection exists and returns null if the record is not found.
GetService Retrieves an object of a specified service type from the collection or vector store.
SearchAsync Searches the vector store for records that are similar to input data.
UpsertAsync Updates or inserts a record or a batch of records into the vector store. It does not guarantee the existence of the collection. If the record already exists, it is updated; if it does not exist, it is created.

See Also: