Asychronously executes a call to SQL
Assembly: Relativity.API (in Relativity.API.dll) Version: 188.8.131.52 588f15fd7550dbf54835f3417a0142d4ea37dbb5
Task<int> ExecuteNonQueryAsync( IQuery query )
Function ExecuteNonQueryAsync ( query As IQuery ) As Task(Of Integer)
- Type: Relativity.API.ContextIQuery
the IQuery settings to present to the call to the SQL database.
For UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the command. When a trigger exists on a table being inserted or updated, the return value includes the number of rows affected by both the insert or update operation and the number of rows affected by the trigger or triggers. For all other types of statements, the return value is -1. If a rollback occurs, the return value is also -1.