Click or drag to resize

SphinxQLCommand.ExecuteScalar Method

Executes the query and returns the first column of the first row in the result set returned by the query. All other columns and rows are ignored.

Namespace:  SphinxConnector.SphinxQL
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntax
public override Object ExecuteScalar()

Return Value

Type: Object
The first column of the first row in the result set.

Implements

IDbCommand.ExecuteScalar()
Exceptions
ExceptionCondition
InvalidOperationException There is no connection associated with this command or the connection is closed.
SphinxQLException
See Also