# RavenDBDatabaseResource

- Module: [CommunityToolkit.Aspire.Hosting.RavenDB](/reference/api/go/communitytoolkit.aspire.hosting.ravendb.md)
- Version: `13.6.1`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

A resource that represents a RavenDB database. This is a child resource of a `RavenDBServerResource`.

## Definition

```go
type RavenDBDatabaseResource interface {
    ExpressionValue
    Resource
    ResourceWithConnectionString
    ResourceWithParent
}
```

## Embeds

- `ExpressionValue`
- `Resource`
- `ResourceWithConnectionString`
- `ResourceWithParent`

## Properties

- `ConnectionStringExpression`: `*ReferenceExpression` `get` -- Gets the connection string expression for the RavenDB database, derived from the parent server's connection string.
- `DatabaseName`: `string` `get` -- Gets the name of the database.
- `Parent`: [`RavenDBServerResource`](/reference/api/go/communitytoolkit.aspire.hosting.ravendb/ravendbserverresource.md) `get` -- Gets the parent RavenDB server resource associated with this database.
