# MaybeSingleResult

# Type Alias: MaybeSingleResult

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

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

## Properties

### singleResult?

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

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

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