---
lang: en
title: 'API docs: repository.belongstoaccessor'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
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) &gt; [@loopback/repository](./repository.md) &gt; [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) | [InclusionResolver](./repository.inclusionresolver.md)<!-- -->&lt;[Entity](./repository.entity.md)<!-- -->, Target&gt; | Use <code>resolver</code> property to obtain an InclusionResolver for this relation. |


