method IDatabaseAdapter.createDataSource
IDatabaseAdapter.createDataSource(entity: string): IDataSource

Open a non-transactional data source for the named entity.

Parameters

entity: string

Entity name (for example 'User')

Return Type

A data source bound to that entity

Usage

import { type IDatabaseAdapter } from "common/src/index.ts";