Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
29 lines
1.5 KiB
Plaintext
29 lines
1.5 KiB
Plaintext
import { entityKind } from "../../entity.cjs";
|
|
import type { PgDialect } from "../dialect.cjs";
|
|
import type { PgPreparedQuery, PgQueryResultHKT, PgQueryResultKind, PgSession, PreparedQueryConfig } from "../session.cjs";
|
|
import type { PgMaterializedView } from "../view.cjs";
|
|
import { QueryPromise } from "../../query-promise.cjs";
|
|
import type { RunnableQuery } from "../../runnable-query.cjs";
|
|
import type { Query, SQLWrapper } from "../../sql/sql.cjs";
|
|
export interface PgRefreshMaterializedView<TQueryResult extends PgQueryResultHKT> extends QueryPromise<PgQueryResultKind<TQueryResult, never>>, RunnableQuery<PgQueryResultKind<TQueryResult, never>, 'pg'>, SQLWrapper {
|
|
readonly _: {
|
|
readonly dialect: 'pg';
|
|
readonly result: PgQueryResultKind<TQueryResult, never>;
|
|
};
|
|
}
|
|
export declare class PgRefreshMaterializedView<TQueryResult extends PgQueryResultHKT> extends QueryPromise<PgQueryResultKind<TQueryResult, never>> implements RunnableQuery<PgQueryResultKind<TQueryResult, never>, 'pg'>, SQLWrapper {
|
|
private session;
|
|
private dialect;
|
|
static readonly [entityKind]: string;
|
|
private config;
|
|
constructor(view: PgMaterializedView, session: PgSession, dialect: PgDialect);
|
|
concurrently(): this;
|
|
withNoData(): this;
|
|
toSQL(): Query;
|
|
prepare(name: string): PgPreparedQuery<PreparedQueryConfig & {
|
|
execute: PgQueryResultKind<TQueryResult, never>;
|
|
}>;
|
|
private authToken?;
|
|
execute: ReturnType<this['prepare']>['execute'];
|
|
}
|