IViewDefineOptions.viewDefinition property
The complete create statement for the view.
Signature:
viewDefinition: string;
Remarks
Executed exactly as written, so it carries its own keywords — and writing it as CREATE OR REPLACE VIEW is what makes sync({ withoutDrop: true }) an option later, which views that depend on each other need. The name it declares has to match the model's table name; that is checked before anything runs.