Commit 837c67b
committed
controllers/version: Add the
Since most endpoints don't need all of the columns for `crates` and
`versions`, it would be great to only load the columns we actually need
to make things faster.
This will enable other endpoints to use the function to make a base
query and customize the needed columns.CrateVersionPathExt trait and provide crate_and_version() fn1 parent 2da492f commit 837c67b
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
83 | 93 | | |
0 commit comments