Member Junction
    Preparing search index...

    AppContext is the context object that is passed to all resolvers.

    type AppContext = {
        dataSource: sql.ConnectionPool;
        dataSources: DataSourceInfo[];
        providers: ProviderInfo[];
        queryRunner?: sql.Request;
        userPayload: UserPayload;
    }
    Index

    Properties

    dataSource: sql.ConnectionPool

    The default and backwards compatible connection pool.

    dataSources: DataSourceInfo[]

    Array of connection pools that have additional information about their intended use e.g. Admin, Read-Write, Read-Only.

    providers: ProviderInfo[]

    Per-request DatabaseProviderBase instances

    queryRunner?: sql.Request
    userPayload: UserPayload