Skip to content

HasOne

@tsed/objection

Usage

typescript
import { HasOne } from "@tsed/objection";

See /packages/orm/objection/src/types/decorators/hasOne.ts.

Overview

ts
function HasOne(opts?: RelationshipOptsWithoutThrough): PropertyDecorator;

Released under the MIT License.