## Description Adds `db-example` repo - [x] I have read and understand the [CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md) document in this repository. ## Type of change - [x] Chore (non-breaking change which does not add functionality) ## Checklist: - [x] Existing test suite passes locally with my changes --------- Co-authored-by: Elliot DeNolf <denolfe@gmail.com>
Example Database Adapter for Payload
Installation
npm install @payloadcms/db-example
Usage
import { buildConfig } from 'payload/config'
import { exampleAdapter } from '@payloadcms/db-example'
export default buildConfig({
db: exampleAdapter({
url: process.env.DATABASE_URI,
}),
// ...rest of config
})
More detailed usage can be found in the Payload Docs.