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:710

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:770


category

get category(): undefined | string

Category (such as 'database').

Returns

undefined | string

Source

src/data.ts:732


commentStart

get commentStart(): undefined | string

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

Returns

undefined | string

Source

src/data.ts:756


connectionTemplate

get connectionTemplate(): Property[]

Returns

Property[]

Source

src/data.ts:781


credentialsTemplate

get credentialsTemplate(): Property[]

Returns

Property[]

Source

src/data.ts:785


description

get description(): undefined | string

Free-text description.

Returns

undefined | string

Source

src/data.ts:739


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:763


queryLanguage

get queryLanguage(): undefined | string

Applicable only to database data sources.

Returns

undefined | string

Source

src/data.ts:777


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:749


type

get type(): string

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

Returns

string

Source

src/data.ts:725

Methods

byType()

static byType(type): undefined | ConnectionDataSource

Use DataConnection#dataSource as input.

Parameters

ParameterType
typestring

Returns

undefined | ConnectionDataSource

Source

src/data.ts:717