react-native/ReactNativeDataSourceOptions.ts

typeorm · packages/typeorm/src/driver/react-native/ReactNativeDataSourceOptions.ts · typescript · MIT
database

Defines connection options for TypeORM's React Native SQLite 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"

/**
 * Sqlite-specific connection options.
 */
export interface ReactNativeDataSourceOptions extends BaseDataSourceOptions {
    /**
     * Database type.
     */
    readonly type: "react-native"

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

    /**
     * The driver object
     * This defaults to require("react-native-sqlite-storage")
     */
    readonly driver?: any

    /**
     * Storage Location
     */
    readonly location: string

    readonly poolSize?: never
    /**
     * Encryption key for

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

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

Get a free API key