Skip to main content
Version: Current

foundation-entity-management.datasourceconfiguration

Home > @genesislcap/foundation-entity-management > DatasourceConfiguration

DatasourceConfiguration type

The attribute which is set to configure the resource that the entity manager is working with

Signature:

export type DatasourceConfiguration = Omit<DatasourceOptions, 'resourceName' | 'request'>;

Example

type DatasourceConfiguration = {
criteria?: string;
fields?: string;
isSnapshot?: boolean;
maxRows?: number;
maxView?: number;
movingView?: boolean;
pollingInterval?: number;
orderBy?: string;
reverse?: boolean;
}