rows,err:=db.Query("SELECT id, alias, title, privacy, view_count FROM collections LEFT JOIN domains ON id = collection_id WHERE owner_id = ? ORDER BY id ASC",u.ID)
rows,err:=db.Query("SELECT id, alias, title, description, privacy, view_count FROM collections WHERE owner_id = ? ORDER BY id ASC",u.ID)
iferr!=nil{
log.Error("Failed selecting from collections: %v",err)
returnnil,impart.HTTPError{http.StatusInternalServerError,"Couldn't retrieve user collections."}