Friction

Feature request · API & developer experience · Annoyance

Look up a single object by any unique key

1 source thread · first seen 2018-09

Summary

Single-object lookups exist only for the primary key; the requester wants lookups by other unique columns and composite unique keys.

Workaround
Use a where clause and take the first result

Evidence

Excerpts are copied word for word from the source; follow the link to read it in full.

“It would be useful if we could lookup single objects by their unique fields other than the primary key”

Report this item