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

3.11.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.

Readme

Keywords

none

Package Sidebar

Install

npm i @payloadcms/db-sqlite

Weekly Downloads

3,107

Version

3.11.0

License

MIT

Unpacked Size

103 kB

Total Files

83

Last publish

Collaborators

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