Skip to main content

ConnectionDataSource

Represents data source, such as PostgreSQL, Oracle, S3, etc.

Constructors

new ConnectionDataSource()

new ConnectionDataSource(dart): ConnectionDataSource

Parameters

ParameterType
dartany

Returns

ConnectionDataSource

Source

src/data.ts:721

Properties

PropertyModifierType
dartpublicany

Accessors

canBrowseSchema

get canBrowseSchema(): boolean

Whether database schemas can be browsed from UI. Applicable only to database data sources.

Returns

boolean

Source

src/data.ts:781


category

get category(): undefined | string

Category (such as 'database').

Returns

undefined | string

Source

src/data.ts:743


commentStart

get commentStart(): undefined | string

Comment start, depends on SQL engine. Applicable only to database data sources.

Returns

undefined | string

Source

src/data.ts:767


connectionTemplate

get connectionTemplate(): Property[]

Returns

Property[]

Source

src/data.ts:792


credentialsTemplate

get credentialsTemplate(): Property[]

Returns

Property[]

Source

src/data.ts:796


description

get description(): undefined | string

Free-text description.

Returns

undefined | string

Source

src/data.ts:750


nameBrackets

get nameBrackets(): undefined | string

Name brackets, required if name contains spaces, depends on SQL engine. Applicable only to database data sources.

Returns

undefined | string

Source

src/data.ts:774


queryLanguage

get queryLanguage(): undefined | string

Applicable only to database data sources.

Returns

undefined | string

Source

src/data.ts:788


requiresServer

get requiresServer(): boolean

Indicates if this data provider can work right from the browser. When true, a query always executes on a server. Examples: Oracle, Postgres, MS SQL When false, a query runs on a server or in a browser, depending on the context (queries initiated from the browser would run in a browser).

Returns

boolean

Source

src/data.ts:760


type

get type(): string

Data source name (such as 'Oracle'). DataConnection#dataSource refers to this value.

Returns

string

Source

src/data.ts:736

Methods

byType()

static byType(type): undefined | ConnectionDataSource

Use DataConnection#dataSource as input.

Parameters

ParameterType
typestring

Returns

undefined | ConnectionDataSource

Source

src/data.ts:728