# MaybeSingleResult

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

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

## Properties

### singleResult?

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

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

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