Class: Db
dg.Db
Constructors
constructor
• new Db()
Methods
query
▸ query(connectionId
, sql
): Promise
<DataFrame
>
Executes a specified sql against the specified connectionId.
Parameters
Name | Type | Description |
---|---|---|
connectionId | string | fully-qualified connection name (see [nqName]) |
sql | string | SQL statement |
Returns
Promise
<DataFrame
>