jmoiron / modl

golang database modelling library
MIT License
479 stars 48 forks source link

Possibly incorrect documentation for DbMap.Select() #26

Open vkryukov opened 9 years ago

vkryukov commented 9 years ago

Current documentation for DbMap.Select states:

Values are returned in one of two ways: 1. If i is a struct or a pointer to a struct, returns a slice of pointers to matching rows of type i.

Ignoring the typo (i instead of dest, which is fixed by #25), that doesn't seem to be correct - the only return value of DbMap.Select is error.