Returns the SQL string and the mapped parameters for this command.
(String, Map<String, Object?>) apply(P? p) { final map = _resolveParams<P>(params, p); return (sql, map); }