Const
Generate the CREATE VIEW SQL for a
Optional
Either a dialect name, or a live Dialect. A definition-based view needs the instance, since only a real dialect can compile the SELECT; a name alone is enough for query/queryFn.
definition
query
queryFn
class.
Execute the CREATE VIEW statement for a
model class.
The dialect is taken from prorm, so a view declared with definition compiles for whichever database the instance is connected to.
prorm
Drop the view for a
Emit IF EXISTS (default: true)
Generate the CREATE VIEW SQL for a