interfaceExecuteResult
interface ExecuteResult
Result of a ZTD statement execution.
This interface encapsulates the result of executing a statement through Session, providing a unified API for fetching results whether from rewritten statements, buffered rows (for simulated writes), or passthrough scenarios.
Type Aliases§
Row = import from TableDefinitionMethods§
public function isPassthrough(): boolCheck if this is a passthrough result (original statement should be executed).
Returns
boolpublic function isSuccess(): boolCheck if the execution was successful.
Returns
boolpublic function rowCount(): intGet the number of affected/returned rows.
Returns
intpublic function hasResultSet(): boolWhether this result contains a result set that can be fetched.
Returns
bool