# MaybeSingleResult

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

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

## Properties

### singleResult?

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

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

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