(view: DatabaseViewSchema)
| 292 | } |
| 293 | |
| 294 | createView(view: DatabaseViewSchema): string { |
| 295 | return `CREATE VIEW ${this.escapeId(view.schemaName)}.${this.escapeId(view.name)} AS ${view.statement}`; |
| 296 | } |
| 297 | |
| 298 | dropView(schemaName: string, name: string): string { |
| 299 | return `DROP VIEW IF EXISTS ${this.escapeId(schemaName)}.${this.escapeId(name)}`; |