I can't figure out what the idiomatic way is to truncate a table. I can see a few TruncateTable method signatures here:
but they seem to require objects that I can only find internally when I inspect the library source code. I'm guessing I'm supposed to somehow acquire a PostgreSQLSqlBuilder.
I'd rather not build the raw SQL because I want to get free table name mapping. I'm trying to avoid hardcoding table names.
I can't figure out what the idiomatic way is to truncate a table. I can see a few
TruncateTable
method signatures here:but they seem to require objects that I can only find internally when I inspect the library source code. I'm guessing I'm supposed to somehow acquire a
PostgreSQLSqlBuilder
.I'd rather not build the raw SQL because I want to get free table name mapping. I'm trying to avoid hardcoding table names.