voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
21 lines (12 loc) • 689 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/firestore](./firestore.md) > [lite](./firestore_lite.md) > [FieldPath](./firestore_lite.fieldpath.md) > [(constructor)](./firestore_lite.fieldpath._constructor_.md)
## FieldPath.(constructor)
Creates a FieldPath from the provided field names. If more than one field name is provided, the path will point to a nested field in a document.
<b>Signature:</b>
```typescript
constructor(...fieldNames: string[]);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| fieldNames | string\[\] | A list of field names. |