View definition

(*DbMap).TruncateTables

Defined in github.com/go-gorp/gorp/db.go

Description

TruncateTables iterates through TableMaps registered to this DbMap and executes "truncate table" statements against the database for each, or in the case of sqlite, a "delete from" with no "where" clause, which uses the truncate optimization (http://www.sqlite.org/lang_delete.html)

TruncateTables is referenced in 4 repositories

github.com/go-gorp/gorp github.com/gvnn/gotest github.com/jonog/go-tdd-api-scaffold

...