View definition

(*TableMap).SetVersionCol

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

Description

SetVersionCol sets the column to use as the Version field. By default the "Version" field is used. Returns the column found, or panics if the struct does not contain a field matching this name.

Automatically calls ResetSql() to ensure SQL statements are regenerated.

SetVersionCol is referenced in 2 repositories

github.com/go-gorp/gorp github.com/skarllot/netpaper