expo/ExpoDataSourceOptions.ts

typeorm · packages/typeorm/src/driver/expo/ExpoDataSourceOptions.ts · typescript · MIT
database

TypeORM options interface for Expo SQLite driver, specifying type, database, and optional driver.

// Source: https://github.com/typeorm/typeorm | License: MIT | Copyright 2015-2025 TypeORM. http://typeorm.github.io
// Provided via justclaw.it.com; keep this notice with the code.
import type { BaseDataSourceOptions } from "../../data-source/BaseDataSourceOptions"

/**
 * Expo SQLite-specific connection options.
 */
export interface ExpoDataSourceOptions extends BaseDataSourceOptions {
    /**
     * Database type.
     */
    readonly type: "expo"

    /**
     * Database name.
     */
    readonly database: string

    /**
     * Driver module. Optional — if omitted, TypeORM will load `expo-sqlite`
     * automatically. Pass explicitly when you need to control which instance
     * of the module is used (e.g. patch-package, custom wrappers).
     */
    readonly driver?: any

    reado

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key