Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity. Example: var v []struct { Name string `json:"name,omitempty"` } client.Instructor.Query(). Select(instructor.FieldName). Scan(ctx, &v)
(fields ...string)