Files
payload/packages/db-postgres/src/destroy.ts
2023-09-26 17:11:46 -04:00

9 lines
255 B
TypeScript

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