| 1 | [vectordb](../README.md) / [Exports](../modules.md) / CreateTableOptions |
| 2 | |
| 3 | # Interface: CreateTableOptions\<T\> |
| 4 | |
| 5 | ## Type parameters |
| 6 | |
| 7 | | Name | |
| 8 | | :------ | |
| 9 | | `T` | |
| 10 | |
| 11 | ## Table of contents |
| 12 | |
| 13 | ### Properties |
| 14 | |
| 15 | - [data](CreateTableOptions.md#data) |
| 16 | - [embeddingFunction](CreateTableOptions.md#embeddingfunction) |
| 17 | - [name](CreateTableOptions.md#name) |
| 18 | - [schema](CreateTableOptions.md#schema) |
| 19 | - [writeOptions](CreateTableOptions.md#writeoptions) |
| 20 | |
| 21 | ## Properties |
| 22 | |
| 23 | ### data |
| 24 | |
| 25 | • `Optional` **data**: `Table`\<`any`\> \| `Record`\<`string`, `unknown`\>[] |
| 26 | |
| 27 | #### Defined in |
| 28 | |
| 29 | [index.ts:163](https://github.com/lancedb/lancedb/blob/92179835/node/src/index.ts#L163) |
| 30 | |
| 31 | ___ |
| 32 | |
| 33 | ### embeddingFunction |
| 34 | |
| 35 | • `Optional` **embeddingFunction**: [`EmbeddingFunction`](EmbeddingFunction.md)\<`T`\> |
| 36 | |
| 37 | #### Defined in |
| 38 | |
| 39 | [index.ts:169](https://github.com/lancedb/lancedb/blob/92179835/node/src/index.ts#L169) |
| 40 | |
| 41 | ___ |
| 42 | |
| 43 | ### name |
| 44 | |
| 45 | • **name**: `string` |
| 46 | |
| 47 | #### Defined in |
| 48 | |
| 49 | [index.ts:160](https://github.com/lancedb/lancedb/blob/92179835/node/src/index.ts#L160) |
| 50 | |
| 51 | ___ |
| 52 | |
| 53 | ### schema |
| 54 | |
| 55 | • `Optional` **schema**: `Schema`\<`any`\> |
| 56 | |
| 57 | #### Defined in |
| 58 | |
| 59 | [index.ts:166](https://github.com/lancedb/lancedb/blob/92179835/node/src/index.ts#L166) |
| 60 | |
| 61 | ___ |
| 62 | |
| 63 | ### writeOptions |
| 64 | |
| 65 | • `Optional` **writeOptions**: [`WriteOptions`](WriteOptions.md) |
| 66 | |
| 67 | #### Defined in |
| 68 | |
| 69 | [index.ts:172](https://github.com/lancedb/lancedb/blob/92179835/node/src/index.ts#L172) |