* Drop a table. * * ### Examples * * ```ts * await db.schema * .dropTable('person') * .execute() * ```
(table: string)
| 114 | * ``` |
| 115 | */ |
| 116 | dropTable(table: string): DropTableBuilder { |
| 117 | return new DropTableBuilder({ |
| 118 | queryId: createQueryId(), |
| 119 | executor: this.#executor, |
| 120 | node: DropTableNode.create(parseTable(table)), |
| 121 | }) |
| 122 | } |
| 123 | |
| 124 | /** |
| 125 | * Create a new index. |