[]
        
(Showing Draft Content)

C1.AdoNet.Snowflake.C1SnowflakeCommand.ExecutePrimitiveSqlAsync

ExecutePrimitiveSqlAsync Method

ExecutePrimitiveSqlAsync(SelectStatement, CancellationToken, bool)

Execute selectStmt directly in the Snowflake server.

Declaration
protected override Task<SourceTable> ExecutePrimitiveSqlAsync(SelectStatement selectStmt, CancellationToken token, bool needFullData = false)
Parameters
Type Name Description
SelectStatement selectStmt

The SelectStatement to be executed on the Snowflake server.

CancellationToken token

The cancellation token to abort the query execution at any moment.

bool needFullData

A boolean that indicates if all the rows from the referred tables in selectStmt need to be retrieved from the Snowflake server.

Returns
Type Description
Task<SourceTable>

A source table containing the query execution result.

Overrides