View definition

(*DbMap).TableFor

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

Description

TableFor returns the *TableMap corresponding to the given Go Type If no table is mapped to that type an error is returned. If checkPK is true and the mapped table has no registered PKs, an error is returned.

TableFor is referenced in 3 repositories

github.com/go-gorp/gorp github.com/nelsam/gorq

...