JSPM

@payloadcms/db-sqlite

3.26.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 24294
  • Score
    100M100P100Q156693F
  • License MIT

The officially supported SQLite database adapter for Payload

Package Exports

    Readme

    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.