@lucidcms/postgres-adapter
Version:
The official Postgres adapter for Lucid CMS
28 lines (19 loc) • 527 B
Markdown
> The official Postgres adapter for Lucid CMS
> [!CAUTION]
> Some queries in Lucid are currently not working with this adapter. Full support is in the works.
This package exports the Postgres adapter for Lucid CMS.
```bash
npm install @lucidcms/postgres-adapter
```
```typescript
import PostgresAdapter from "@lucidcms/postgres-adapter"
export default lucid.config({
db: new PostgresAdapter({
connectionString: ""
}),
// ...other config
});
```