Skip to main content
Module

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

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

Creates database schema for all entities registered in this connection. Can be used only after connection to the database is established.

Parameters

optional
dropBeforeSync: boolean = [UNSUPPORTED]

If set to true then it drops the database with all its tables and data

Returns

Promise<void>