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

3.1.0 • Public • Published

Payload SQLite 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.

Dependents (1)

Package Sidebar

Install

npm i @payloadcms/db-sqlite

Weekly Downloads

4,000

Version

3.1.0

License

MIT

Unpacked Size

247 kB

Total Files

91

Last publish

Collaborators

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