Remove undocumented and unused function `ChangeTable`

pull/2/head
Vinícius Garcia 2021-01-17 20:41:03 -03:00
parent 0f49ad180d
commit ded48b3a7d
1 changed files with 0 additions and 8 deletions

View File

@ -53,14 +53,6 @@ func New(
}, nil
}
// ChangeTable creates a new client configured to query on a different table
func (c DB) ChangeTable(ctx context.Context, tableName string) ORMProvider {
return &DB{
db: c.db,
tableName: tableName,
}
}
// Query queries several rows from the database,
// the input should be a slice of structs (or *struct) passed
// by reference and it will be filled with all the results.