Skip to main content
Module

x/typeorm/src/index.ts>RelationQueryBuilder#loadOne

Forked from https://github.com/typeorm/typeorm
Latest
method RelationQueryBuilder.prototype.loadOne
import { RelationQueryBuilder } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Loads a single entity (relational) from the relation. You can also provide id of relational entity to filter by.

Type Parameters

optional
T = any

Returns

Promise<T | undefined>