@loopback/docs
Version:
Documentation for LoopBack 4
31 lines (20 loc) • 1.45 kB
Markdown
---
lang: en
title: 'API docs: repository-tests.crudconnectorfeatures'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository-tests.crudconnectorfeatures.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/repository-tests](./repository-tests.md) > [CrudConnectorFeatures](./repository-tests.crudconnectorfeatures.md)
## CrudConnectorFeatures interface
List of flags describing connector-specific behavior. These flags are used by the test suite to tweak assertions and skip tests for scenarios not supported by some connectors.
<b>Signature:</b>
```typescript
export interface CrudConnectorFeatures
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [freeFormProperties](./repository-tests.crudconnectorfeatures.freeformproperties.md) | <code>boolean</code> | Does the database (or the connector) require a fixed schema, or can it support additional (free-form) properties? SQL databases typically don't support free-form properties.<!-- -->Default: <code>true</code> |
| [idType](./repository-tests.crudconnectorfeatures.idtype.md) | <code>'string' | 'number'</code> | What type is used for auto-generated primary keys? - SQL databases typically use auto-incremented numbers, - NoSQL databases tend to use GUID/UUID strings.<!-- -->Default: <code>'string'</code>. |