code: func (m *DbMap) TruncateTables() error {
  	var err error
  	for i := range m.tables {
  		table := m.tables[i]
  		_, e := m.Exec(fmt.Sprintf("%s %s;", m.Dialect.TruncateClause(), m.Dialect.QuotedTableForQuery(table.SchemaName, table.TableName)))
  		if e != nil {
  			err = e
  		}
  	}
  
  	for _, table := range m.dynamicTableMap() {
  		_, e := m.Exec(fmt.Sprintf("%s %s;", m.Dialect.TruncateClause(), m.Dialect.QuotedTableForQuery(table.SchemaName, table.TableName)))
  		if e != nil {
  			err = e
  		}
  	}
  
  	return err
  }
docs: // 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)