codeintel: Simplify db scan functions
Created by: efritz
This moves scan functions closer to the struct on which they operate. This also ensures that the rows.Err()
value is returned if non-nil after close (which I had neglected previously).
Created by: efritz
This moves scan functions closer to the struct on which they operate. This also ensures that the rows.Err()
value is returned if non-nil after close (which I had neglected previously).