# MaybeSingleResult

```ts
type MaybeSingleResult = object;
```

Defined in: [packages/db/src/types.ts:1009](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L1009)

## Properties

### singleResult?

```ts
optional singleResult: true;
```

Defined in: [packages/db/src/types.ts:1013](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L1013)

If enabled the collection will return a single object instead of an array
