AceQL.Client.Api Namespace
AceQL.Client.Api.Metadata Namespace
AceQL HTTP C# Client SDK v7.3

AceQLCommand..::..ExecuteScalar Method

Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.

Namespace:  AceQL.Client.Api
Assembly:  AceQL.Client (in AceQL.Client.dll)

Syntax


public Task<Object> ExecuteScalar()

Return Value

The first column of the first row in the result set, or a null reference if the result set is empty.

Exceptions


ExceptionCondition
AceQL.Client.Api..::..AceQLExceptionIf any Exception occurs.