Files
payload/packages/db-postgres/src/destroy.ts
2024-03-06 14:19:13 -05:00

9 lines
260 B
TypeScript

import type { Destroy } from 'payload/database'
import type { PostgresAdapter } from './types.d.ts'
export const destroy: Destroy = async function destroy(this: PostgresAdapter) {
// TODO: this hangs test suite for some reason
// await this.pool.end()
}