import { Model } from "https://deno.land/x/denodb@v1.1.0/lib/model.ts";
Add an event listener for a specific operation/hook.
Flight.on('created', (model) => console.log('New model:', model));
Type Parameters
T extends ModelSchema
import { Model } from "https://deno.land/x/denodb@v1.1.0/lib/model.ts";
Add an event listener for a specific operation/hook.
Flight.on('created', (model) => console.log('New model:', model));