onExecute property

(void Function(String sql, dynamic values)?) onExecute

Callback when Connection.execute is called. It is useful for detecting unexpected pattern. For example, update A set f=null where k=k is usually an error that @k shall be used instead. And, it can cause a disaster.

Implementation

void Function(String sql, dynamic values)? get onExecute;