func FieldCriteria(fields []*Field) string {
	criteria := make([]string, len(fields))

	for i, field := range fields {
		criteria[i] = fmt.Sprintf("%s = ?", field.Column())
	}

	return strings.Join(criteria, " AND ")
}
func FieldCriteria(fields []*Field) string {
	criteria := make([]string, len(fields))

	for i, field := range fields {
		criteria[i] = fmt.Sprintf("%s = ?", field.Column())
	}

	return strings.Join(criteria, " AND ")
}
func FieldCriteria ( fields [ ] * Field ) string { criteria := make ( [ ] string , len ( fields ) ) for i , field := range fields { criteria [ i ] = fmt . Sprintf ( " " , field . Column ( ) ) } return strings . Join ( criteria , " " ) }
// FieldCriteria converts the given fields to AND-separated WHERE criteria.
FieldCriteria converts the given fields to AND - separated WHERE criteria .