Sphinx QLCommandExecute Scalar 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.
Definition
Namespace: SphinxConnector.SphinxQL
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
The first column of the first row in the result set.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public override Object ExecuteScalar()VB
Public Overrides Function ExecuteScalar As ObjectReturn Value
ObjectThe first column of the first row in the result set.
Implements
IDbCommandExecuteScalarExceptions
| InvalidOperationException | There is no connection associated with this command or the connection is closed. |
| SphinxQLException |