@loopback/docs
Version:
Documentation for LoopBack 4
29 lines (19 loc) • 929 B
Markdown
lang: en
title: 'API docs: repository.belongstoaccessor'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/repository
permalink: /doc/en/lb4/apidocs.repository.belongstoaccessor.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/repository](./repository.md) > [BelongsToAccessor](./repository.belongstoaccessor.md)
## BelongsToAccessor interface
<b>Signature:</b>
```typescript
export interface BelongsToAccessor<Target extends Entity, SourceId>
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [inclusionResolver](./repository.belongstoaccessor.inclusionresolver.md) | <code>InclusionResolver<Entity, Target></code> | Use <code>resolver</code> property to obtain an InclusionResolver for this relation. |