Module

x/denodb/mod.ts>Database#sync

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Latest
method Database.prototype.sync
import { Database } from "https://dotland.deno.dev/x/denodb@v1.4.0/mod.ts";

Create the given models in the current database.

await db.sync({ drop: true });

Parameters

optional
options: SyncOptions = [UNSUPPORTED]