<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Node-DuckDB API](./node-duckdb.md) &gt; [DuckDB](./node-duckdb.duckdb.md) &gt; [collation](./node-duckdb.duckdb.collation.md)

## DuckDB.collation property

Returns the collation used by the database.

<b>Signature:</b>

```typescript
get collation(): string;
```
