Share via


IPostgresDbClient Interface

Definition

Interface for client managing postgres database operations.

public interface IPostgresDbClient
type IPostgresDbClient = interface
Public Interface IPostgresDbClient
Derived

Methods

CreateTableAsync(String, CancellationToken)

Create a table.

DeleteAsync(String, String, CancellationToken)

Delete a entry by its key.

DeleteBatchAsync(String, IEnumerable<String>, CancellationToken)

Delete multiple entries by their key.

DeleteTableAsync(String, CancellationToken)

Delete a table.

DoesTableExistsAsync(String, CancellationToken)

Check if a table exists.

GetNearestMatchesAsync(String, Vector, Int32, Double, Boolean, CancellationToken)

Gets the nearest matches to the Pgvector.Vector.

GetTablesAsync(CancellationToken)

Get all tables.

ReadAsync(String, String, Boolean, CancellationToken)

Read a entry by its key.

ReadBatchAsync(String, IEnumerable<String>, Boolean, CancellationToken)

Read multiple entries by their keys.

UpsertAsync(String, String, String, Vector, Nullable<DateTime>, CancellationToken)

Upsert entry into a table.

Applies to