Skip to main content
Module

x/typeorm/src/index.ts>Connection#close

Forked from https://github.com/typeorm/typeorm
Latest
method Connection.prototype.close
Re-export
import { Connection } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Closes connection with the database. Once connection is closed, you cannot use repositories or perform any operations except opening connection again.

Returns

Promise<void>