# getDatabaseCreationScript

- Module: [Aspire.Hosting.Azure.Kusto](/reference/api/typescript/aspire.hosting.azure.kusto.md)
- Version: `13.3.0-preview.1.26254.5`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire)

Gets the KQL script used to create the database.

## Definition

```typescript
interface AzureKustoReadWriteDatabaseResource {
  // ... omitted for brevity
  getDatabaseCreationScript(): string
}
```

## Returns

`string`

## Applies to

- [AzureKustoReadWriteDatabaseResource](/reference/api/typescript/aspire.hosting.azure.kusto/azurekustoreadwritedatabaseresource.md)
