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

3.0.2 • 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @payloadcms/db-sqlite

Weekly Downloads

2,716

Version

3.0.2

License

MIT

Unpacked Size

246 kB

Total Files

91

Last publish

Collaborators

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