test-easy-psql
Version:
Welcome to the test-easy-psql documentation! test-easy-psql is a simple intermediary for querying data in PostgreSQL databases. Whether you're a beginner or an experienced developer, this documentation will help you get started with test-easy-psql and lev
30 lines (29 loc) • 611 B
TypeScript
export = Relation;
declare class Relation {
constructor({
alias,
from_table,
to_table,
from_column,
to_column,
type,
}: {
alias: string;
from_table?: string;
to_table: string;
from_column: string | string[];
to_column: string | string[];
type: "object" | "array";
schema?: string;
where?: any;
});
alias: string;
from_table?: string;
to_table: string;
from_column: string | string[];
to_column: string | string[];
type: "object" | "array";
schema?: any;
where?: any;
validateRelationConfig(): never;
}