(view: DatabaseViewSchema)
| 425 | } |
| 426 | |
| 427 | createView(view: DatabaseViewSchema): string { |
| 428 | return `CREATE VIEW ${this.escapeId(view.schemaName)}.${this.escapeId(view.name)} AS ${view.statement}`; |
| 429 | } |
| 430 | |
| 431 | dropView(schemaName: string, name: string): string { |
| 432 | return `DROP VIEW IF EXISTS ${this.escapeId(schemaName)}.${this.escapeId(name)}`; |