DriftDebugQueryWithBindings typedef

DriftDebugQueryWithBindings = Future<List<Map<String, dynamic>>> Function(String sql, {Map<String, Object?>? namedArgs, List<Object?>? positionalArgs})

Optional read callback that receives declared positional/named bindings.

Used when the host executor can supply bound values for DVR / tooling. Implementations may ignore positionalArgs and namedArgs and execute sql only — the debug server still records declared bindings for DVR when provided via HTTP/VM metadata.

Implementation

typedef DriftDebugQueryWithBindings =
    Future<List<Map<String, dynamic>>> Function(
      String sql, {
      List<Object?>? positionalArgs,
      Map<String, Object?>? namedArgs,
    });