> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RavenDB document observations

> Observe RavenDB documents through one static index over HTTPS.

Use the [Documents mount](https://docs.bijection.com/integrations/native-mongodb.md#mount-and-start) with
`ravenDocuments(origin, credential, data)` at the HTTPS origin of
the database's server. Seal the PEM client certificate chain followed by
its private key. Register the certificate in RavenDB with read-only
permission on the database. Bind the receiver and the mount under the same [label](https://docs.bijection.com/integrations/native-connectors.md#installer-bound-labels).

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{ selection: { mode: "ravendb", index: { database: "Sales", index: "Orders/ByExportKey" } } }
```

Create a static map index from one collection that maps the document's
`ExportKey` as-is and indexes it as an exact string. Maintain one
immutable, unique key per document from one to 384 ASCII letters, digits,
underscores or hyphens. The RQL query returns the corresponding source
document and includes its RavenDB metadata. Stale indexes and answers
over one row or 36 KiB block progress.

Bijection retains the last observed key and queries strictly above it.
The next pass starts from the beginning after an empty answer.
Pages have separate index views. Missing documents stay published.

[RQL REST endpoint](https://docs.ravendb.net/7.2/client-api/rest-api/queries/query-the-database) ·
[Certificate permissions](https://docs.ravendb.net/6.2/server/security/authorization/security-clearance-and-permissions)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.