* Creates a TRUNCATE query to remove all rows from the table.
()
| 958 | * Creates a TRUNCATE query to remove all rows from the table. |
| 959 | */ |
| 960 | truncate(): TruncateQueryBuilder<Entity> { |
| 961 | return this.init(QueryType.TRUNCATE) as unknown as TruncateQueryBuilder<Entity>; |
| 962 | } |
| 963 | |
| 964 | /** |
| 965 | * Creates a COUNT query to count matching rows. |