HasOneOptions

View Source

Summary

Options for defining a hasOne relation.

Signature

type HasOneOptions<source, target> = {
  foreignKey?: KeySelector<target>;
  targetKey?: KeySelector<source>;
};