connStateLookup top-level property

int Function(String which)? connStateLookup
getter/setter pair

Per-connection state hook for last_insert_rowid(), changes() and total_changes(). The active Database.executeStmt installs this so the scalar functions can read connection-scoped counters without expression.dart depending on database.dart. Returns 0 when no connection context is active.

Implementation

int Function(String which)? connStateLookup;