npm

@payloadcms/db-sqlite
TypeScript icon, indicating that this package has built-in type declarations

3.0.0-beta.77 • Public • Published

Payload Postgres Adapter

Official SQLite adapter for Payload.

Installation

npm install @payloadcms/db-sqlite

Usage

import { buildConfig } from 'payload/config'
import { sqliteAdapter } from '@payloadcms/db-sqlite'

export default buildConfig({
  db: sqliteAdapter({
    client: {
      url: process.env.DATABASE_URI,
    },
  }),
  // ...rest of config
})

More detailed usage can be found in the Payload Docs.

Readme

Keywords

none

Package Sidebar

Install

npm i @payloadcms/db-sqlite

Weekly Downloads

1,347

Version

3.0.0-beta.77

License

MIT

Unpacked Size

220 kB

Total Files

90

Last publish

Collaborators

  • german.jablo
  • seanpayload
  • patrikkozak
  • alessiogr
  • jacobsfletch
  • jmikrut
  • danribbens
  • elliotpayload
  • payloadjs