14 lines
506 B
TypeScript
14 lines
506 B
TypeScript
import { type IPostgresInterval } from 'postgres-interval';
|
|
import { BasePostgreSqlPlatform } from '@mikro-orm/sql';
|
|
/** Platform implementation for PostgreSQL. */
|
|
export declare class PostgreSqlPlatform extends BasePostgreSqlPlatform {
|
|
convertIntervalToJSValue(value: string): unknown;
|
|
convertIntervalToDatabaseValue(value: IPostgresInterval): unknown;
|
|
unmarshallArray(value: string): string[];
|
|
escape(value: any): string;
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
parseDate(value: string | number): Date;
|
|
}
|