Interface that defines the arguments required to create a VercelPostgres instance. It includes Postgres connection options, table name, filter, and verbosity level.

interface VercelPostgresFields {
    client: VercelPoolClient;
    pool: VercelPool;
    columns?: {
        contentColumnName?: string;
        idColumnName?: string;
        metadataColumnName?: string;
        vectorColumnName?: string;
    };
    filter?: Metadata;
    tableName?: string;
    verbose?: boolean;
}

Properties

client: VercelPoolClient
pool: VercelPool
columns?: {
    contentColumnName?: string;
    idColumnName?: string;
    metadataColumnName?: string;
    vectorColumnName?: string;
}

Type declaration

  • Optional contentColumnName?: string
  • Optional idColumnName?: string
  • Optional metadataColumnName?: string
  • Optional vectorColumnName?: string
filter?: Metadata
tableName?: string
verbose?: boolean

Generated using TypeDoc