haxetink / tink_sql

SQL embedded into Haxe
MIT License
53 stars 17 forks source link

Add support for `TRUNCATE` statement #132

Closed cedx closed 3 years ago

cedx commented 3 years ago

We can DROP a table, DELETE all of its rows, but there is no way to TRUNCATE a table (which is much more efficient than deleting all of its rows).

kevinresol commented 3 years ago

This shouldn't be hard to add. We welcome PRs.

cedx commented 3 years ago

@kevinresol Done!