ConnectionDataSource
Represents data source, such as PostgreSQL, Oracle, S3, etc.
Constructors
new ConnectionDataSource()
new ConnectionDataSource(
dart):ConnectionDataSource
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
Source
Properties
| Property | Modifier | Type |
|---|---|---|
dart | public | any |
Accessors
canBrowseSchema
getcanBrowseSchema():boolean
Whether database schemas can be browsed from UI. Applicable only to database data sources.
Returns
boolean
Source
category
getcategory():undefined|string
Category (such as 'database').
Returns
undefined | string
Source
commentStart
getcommentStart():undefined|string
Comment start, depends on SQL engine. Applicable only to database data sources.
Returns
undefined | string
Source
connectionTemplate
getconnectionTemplate():Property[]
Returns
Property[]
Source
credentialsTemplate
getcredentialsTemplate():Property[]
Returns
Property[]
Source
description
getdescription():undefined|string
Free-text description.
Returns
undefined | string
Source
nameBrackets
getnameBrackets():undefined|string
Name brackets, required if name contains spaces, depends on SQL engine. Applicable only to database data sources.
Returns
undefined | string
Source
queryLanguage
getqueryLanguage():undefined|string
Applicable only to database data sources.
Returns
undefined | string
Source
requiresServer
getrequiresServer():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
type
gettype():string
Data source name (such as 'Oracle').
DataConnection#dataSource refers to this value.
Returns
string
Source
Methods
byType()
staticbyType(type):undefined|ConnectionDataSource
Use DataConnection#dataSource as input.
Parameters
| Parameter | Type |
|---|---|
type | string |
Returns
undefined | ConnectionDataSource